Question: Select Command Lab Directions: Using the TEE command record you commands to these questions. Store your answers in a file named M2U1A1.txt on your flash

Select Command Lab Directions: Using the TEE command record you commands to these questions. Store your answers in a file named M2U1A1.txt on your flash drive 1. Write an SQL statement that will show only the emp_last column from the employees table Result: +----------+ | emp_last | +----------+ | MorriS | | Smith | | Clark | | Frank | | Stevens | | Kennedy | | Peters | | Chenny | | Clark | | Stevens | | Williams | | Hall | | Smith | | Bennet | | Quinn | | Rain | | Holmes | | Tate | | Tate | | Moore | | Cook | | Franks | | Dylan | | Crane | | Green | | Ellis | | Lance | | Jackson | | South | | Prince | +----------+ 30 rows in set (0.00 sec) 2. Write an SQL statement that will show only the emp_first column from the employees table Result: +-----------+ | emp_first | +-----------+ | Tony | | Paula | | Jenny | | Dave | | April | | Lawance | | Perry | | Terry | | Hellen | | Jack | | John | | Colleen | | Dorra | | June | | Laura | | Murry | | Cora | | Remus | | Romus | | Misha | | Anne | | Tim | | Jane | | lee | | Lenny | | Steve | | Tim | | Dylan | | Mora | | Paul | +-----------+ 30 rows in set (0.00 sec) 3. Write an SQL statement that will show only the city column from the employees table table Result: +-------------+ | city | +-------------+ | Allen | | Allen | | Humming | | Hastings | | Humming | | Humming | | Humming | | Allen | | Corneth | | Westbridge | | Lane | | Lane | | South | | Kidd | | Foto | | Cake | | Allen | | South | | Egg | | Kow | | Tempus | | Gadzooks | | Town | | Henry | | Sunny | | Logan | | Town | | Sol | | Little John | | Bruce | +-------------+ 30 rows in set (0.00 sec) 4. Write an SQL statement that will show only the state column from the employees table Result: +-------+ | state | +-------+ | NY | | SD | | OH | | TN | | OH | | OH | | OH | | SD | | NY | | TN | | KY | | KY | | KY | | SD | | NY | | KY | | SD | | KY | | FL | | TX | | FL | | KY | | KY | | MI | | KY | | WV | | KY | | KY | | WV | | VA | +-------+ 30 rows in set (0.00 sec) )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!