MySQL8-特性注入-TABLE
MySQL8 环境搭建:https://www.cnblogs.com/2020javamianshibaodian/p/12906655.html
table
官方文档:https://dev.mysql.com/doc/refman/8.0/en/table.html
table函数是MySQL8版本新增的函数,作用和select函数类似,作用是列出表中的全部信息,但是前提是要知道表名
规范语法
1 | |
使用table函数查询users表中的内容,结果和常规的使用select查询一致
1 | |
1 | |

table支持order by、limit、offset等限制条件
1 | |
1 | |

1 | |
1 | |

table支持union联合查询
1 | |

不可以使用where限定查询某一行

MySQL8-特性注入-TABLE
https://yschen20.github.io/2025/06/11/MySQL8-特性注入-TABLE/