what is the result for this query SELECT god FROM religion? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

what is the result for this query SELECT god FROM religion?

the God query

25th Oct 2016, 12:59 AM
amine
amine - avatar
8 Answers
+ 3
this query will return only God column from religion table, but if u don't wanna return duplicated God names from religion table u must use this query below: SELECT DISTINCT God FROM religion
25th Oct 2016, 6:20 AM
babakm
babakm - avatar
+ 1
i think no record there
25th Oct 2016, 12:59 AM
amine
amine - avatar
+ 1
SQL will first ask you to provide a solid evidence for the existence of that column. Otherwise, your query will be dismissed.
26th Oct 2016, 12:58 AM
Zeyad Alharthi
Zeyad Alharthi - avatar
+ 1
if your database exists then this sql query will return god column from the table named religion.
1st Nov 2016, 10:08 AM
kawal
kawal - avatar
0
if religion table with God column exist in the database that you are querying it returns all the gods rows which are available in that religion table.
2nd Nov 2016, 12:10 PM
Raja Pasupuleti
Raja Pasupuleti - avatar
0
this query will return all the gods
2nd Nov 2016, 1:14 PM
gmzdev
gmzdev - avatar
0
select * from religion,* means all
3rd Nov 2016, 11:41 AM
Libin M George
Libin M George - avatar
0
you have table its name is religion,in religion there some colums.one of the column name is god
21st Nov 2016, 10:09 AM
Libin M George
Libin M George - avatar