recategorized by
4,257 views

1 Answer

6 votes
6 votes

The SELECT statement is used to select data from a database.

The result is stored in a result table, called the result-set.
SQL SELECT Syntax
SELECT column_name,  (This query will give you one particular column)
FROM table_name;
And
SELECT * FROM table_name; (This will give you all column)

Related questions

568
views
0 answers
2 votes
rahul sharma 5 asked Jul 13, 2017
568 views
Assume i have two tables R(A,B) and S(A,D)1. Select * from R,S2. Select * from R,S where R.A>S.AWhat will be the name/number of columns on both of these cases?
1.4k
views
1 answers
1 votes
GateAspirant999 asked Nov 5, 2016
1,389 views
Book claims that below query translates to relational algebra expression $P/Q$. Can anyone explain how does the below query translates to relational algebra expression ... $P/Q$?
5.2k
views
1 answers
0 votes
Sanjay Sharma asked Apr 13, 2016
5,235 views
The bus which is used to transfer data from main memory to peripheral device isa) data busb) input busc) DMA busd) output bus
798
views
1 answers
5 votes
Vikrant Singh asked Dec 28, 2014
798 views
A relational table Employee (ENo, EName, Dept) has $88$ number of tuples. What will be the result of following SQL statement?SELECT COUNT (ENo) FROM Employee WHERE ENo NOT IN (NULL);$88$44$0$87$