Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SQL question 5. select * from employees where city is lane and employee last name is hall; +---------+----------+-----------+--------------+------+-------+-------+ | EMP_NUM | EMP_LAST | EMP_FIRST |

SQL question

5. select * from employees where city is lane and employee last name is hall; +---------+----------+-----------+--------------+------+-------+-------+ | EMP_NUM | EMP_LAST | EMP_FIRST | ADDRESS | CITY | STATE | ZIP | +---------+----------+-----------+--------------+------+-------+-------+ | 12 | Hall | Colleen | 34 West Road | Lane | KY | 45234 | +---------+----------+-----------+--------------+------+-------+-------+ 1 row in set (0.00 sec)

6. select all from employees where city is cake and employee last name is rain +---------+----------+-----------+------------+------+-------+-------+ | EMP_NUM | EMP_LAST | EMP_FIRST | ADDRESS | CITY | STATE | ZIP | +---------+----------+-----------+------------+------+-------+-------+ | 16 | Rain | Murry | PO BOX 282 | Cake | KY | 49872 | +---------+----------+-----------+------------+------+-------+-------+ 1 row in set (0.00 sec)

7. select all from students where city is here and state is ky | firstname | lastname | city | state | +-----------+----------+------+-------+ | Fred | Smith | Here | KY | | Ted | Smith | Here | KY | +-----------+----------+------+-------+ 2 rows in set (0.00 sec)

8. select all from students where city is there and state is ky +-----------+----------+-------+-------+ | firstname | lastname | city | state | +-----------+----------+-------+-------+ | Ben | Smith | There | KY | +-----------+----------+-------+-------+ 1 row in set (0.00 sec)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago