架构设计
754
select 1,2,3 union select * from sc; select `1` from (select 1,2,3 union select * from sc)a; select `2` from (select 1,2,3 union select * from sc)a;
select * from sc;
select 1,2,3 union select * from sc;
select `1` from (select 1,2,3 union select * from sc)a;
join 报错来爆列名
select * from sc union all select * from (select * from information_schema.tables as a join information_schema.tables b)c;

得到第一列列名 table_catalog
select * from sc union all select * from (select * from information_schema.tables as a join information_schema.tables b using(table_catalog))c;

得到第二列列名 table_schema
select * from sc union all select * from (select * from information_schema.tables as a join information_schema.tables b using(table_catalog,table_schema))c; 可得第三列列名 依次枚举
小
那些青春期的脆弱自尊,轻易不得触碰,那极有有可能成为对他或她一生的打扰。我们都曾经历那样纯粹、易碎的青春,只是时光的磨砺已让我们懂得逃避与忍气吞声然后慢慢遗忘自己曾经的青春。
2
发布数
2
关注者
8434
累计阅读
广告