How do you select all the records from a table named "EMP" where the - ProProfs Discuss
Advertisement

How do you select all the records from a table named "EMP" where the value of the column "Last_Name" is "KING"?

How do you select all the records from a table named "EMP" where the value of the column "Last_Name" is "KING"?<br/>

Change Image    Delete

Asked by Maarsh, Last updated: Dec 17, 2024

+ Answer
Request
Question menu
Vote up Vote down

5 Answers

joancolmenero

joancolmenero

joancolmenero
Joancolmenero

Answered Apr 22, 2017

SELECT * FROM EMP WHERE LAST_NAME = 'KING';
it's correct as well...
upvote 1 downvote
Reply 

John Adney

John Adney

John Adney
John Adney

Answered Jul 23, 2017

When the like keyword is used the % sign should be used

select * from emp where last name = 'KING' is the correct answer

upvote downvote
Reply 

John Adney

John Adney

John Adney
John Adney

Answered Jul 15, 2017

SELECT * FROM EMP WHERE Last_Name = 'KING';

It is correct answer.

upvote downvote
Reply 

hmAzam

hmAzam

hmAzam
HmAzam

Answered Jul 15, 2017

SELECT * FROM EMP WHERE Last_Name = 'KING';

It is correct answer.

upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Oct 25, 2016

SELECT * FROM EMP WHERE Last_Name LIKE KING
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.