× Didn't find what you were looking for? Ask a question
Top Posters
Since Sunday
t
7
m
6
k
6
F
5
j
5
t
5
j
5
G
5
f
5
a
5
d
5
c
5
New Topic  
zhamila zhamila
wrote...
Posts: 705
Rep: 0 0
6 years ago
What steps should you take to construct a detailed query in a step-by-step fashion?
Read 52 times
1 Reply

Related Topics

Replies
wrote...
6 years ago
1 . List in the SELECT clause all the columns that you want to display. If the name of a column appears in more than one table, precede the column name with the table name.
2 . List in the FROM clause all the tables involved in the query. Usually you include the tables that contain the columns listed in the SELECT clause. Occasionally, however, there might be a table that does not contain any columns used in the SELECT clause but that does contain columns used in the WHERE clause. In this case, you must also list the table in the FROM clause.
3 . Take one pair of related tables at a time and indicate in the WHERE clause the condition that relates the tables. Join these conditions with the AND operator. If there are any other conditions, include them in the WHERE clause and connect them to the other conditions with the AND operator.
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1014 People Browsing
Related Images
  
 323
  
 1174
  
 2130
Your Opinion
Which country would you like to visit for its food?
Votes: 214