Watch Our YouTube Channel
It is currently Mon Jan 22, 2018 10:24 am
 

All times are UTC



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Nov 21, 2015 10:54 am 
Offline

Joined: Fri Nov 13, 2015 3:56 am
Posts: 460
The basic difference between Select * and Select Count (*) :
The table has 2 rows.

SELECT * FROM users;
It shows the list of all the rows in the table.

But SELECT COUNT(*) from users;
It shows the how many rows are there in the table





Sql for Beginners


Attachments:
sample.JPG
sample.JPG [ 41.92 KiB | Viewed 643 times ]

_________________
Learn Web Development | Latest Technology News |Motivational Quotes
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron