SQL
Bill_zhang5
这个作者很懒,什么都没留下…
展开
-
组合查询
union 查询语法:SELECT column_name(s) FROM table_name1UNIONSELECT column_name(s) FROM table_name2union all查询语法:SELECT column_name(s) FROM table_name1UNION ALLSELECT column_name(s) FROM table_name2uni原创 2017-03-25 10:21:51 · 496 阅读 · 0 评论 -
SQL中往表中插入数据的几种不同形式的小结
1.表中插入一行数据:INSERT INTO table_name VALUES ('value1', 'value2',....)2.向表中插入多行:INSERT INTO table_name ('COLUMN1, 'COLUMN2',...) VALUES ('value1', 'value2',....),VALUES ('value1', 'value2',....原创 2017-04-01 14:58:21 · 2458 阅读 · 0 评论