我读了一些文章,但真的不明白 select 1 from是做什么的?有人说“你应该使用 select 1而不是 select *”。下面是一个示例表:
cust_id cust_name cust_address
1000000001 Village Toys Mapl
1000000002 Kids Place South
1000000003 Fun4All Sunny
1000000004 Fun4All Riverside
1000000005 The Toy Store 53rd
当我写 select 1 from customer_table的时候,结果是什么? 这个语句做了什么?