postgresql 使用 过程中和mysql 的不同

1.limit 用法 select * from warn_content where 1=1 limit 3(取得数据数) OFFSET 1 (此位置下一个开始) 字段设计 ,最好全部都是小写 如果字段为 data_ID select * from warn_content where data_ID =?1 在查询 的时候 会报 data_id 字段找不到 解决方法:添加双引号 select
相关文章
相关标签/搜索