Don't Afraid of Source Code

MySQL Select Query


A SELECT query can return the data from multiple columns by including the required column names as a comma-separated list in the query. The syntax to get multiple column data looks like this:

SELECT column-name, column-name from table-name;

If you want to select all available columns in the table , Query looks like this :

SELECT * from table-name;
Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy