Resolved: question about the lecture
Hi, I'm wondering that are these queries will change the database too, or it just output the result that we want?
2 answers ( 1 marked as helpful)
No, a SELECT query in SQL is used only to read data from a database, not to change it. The purpose of a SELECT statement is to query the database for specific information; it fetches data from one or more tables but does not alter the data or the structure of the database.
Hi Anh and Zbynek,
Thanks for reaching out.
@Zbynek: Thanks for providing a correct explanation to Anh's question!
Good luck and please feel free to post another question should you encounter any difficulties. Thank you.
Kind regards,
Martin