Horje
add new column after in sql Code Example
add new column after in sql
ALTER TABLE `fb_banners`
ADD `city_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL AFTER `BannerID`,
ADD INDEX `Foreign_city_id_banners` (`city_id`) USING BTREE,
ADD CONSTRAINT `Foreign_city_id_banners` FOREIGN KEY (`city_id`) REFERENCES `foodsafari`.`fb_cities` (`id`) ON UPDATE CASCADE ON DELETE CASCADE;




Sql

Related
sql join on a subquery Code Example sql join on a subquery Code Example
add new column in sql with foreign key Code Example add new column in sql with foreign key Code Example
how to between in sql Code Example how to between in sql Code Example
how to force truncate a table in mysql Code Example how to force truncate a table in mysql Code Example
See Foreign Key Code Example See Foreign Key Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6