摘要:
select username,password from user union select 1,2 ERROR 1222 (21000): The used SELECT statements have a different number of columns : 这是因为使用union的两个 阅读全文
posted @ 2020-04-02 16:11
学习之旅之20171013
阅读(120)
评论(0)
推荐(0)
摘要:
两种方式,一种order by后面跟列名,一种order by 后面跟列的序号 比如表user 有自动password,username 1、第一种排序 select username,password from user order by username; 2、第二种排序 select user 阅读全文
posted @ 2020-04-02 15:34
学习之旅之20171013
阅读(80)
评论(0)
推荐(0)

浙公网安备 33010602011771号