SQL to generate a list of numbers from 1 to 100

后端 未结 11 1513
悲&欢浪女
悲&欢浪女 2020-11-27 04:07

Using the DUAL table, how can I get a list of numbers from 1 to 100?

11条回答
  •  迷失自我
    2020-11-27 04:24

    SELECT * FROM `DUAL` WHERE id>0 AND id<101
    

    The above query is written in SQL in the database.

提交回复
热议问题