Things You'll Need:
- Computer
-
Step 1
Run the "MySQL" database. At the command prompt, enter the following code: "Select clmn_name FROM tbl_name."
-
Step 2
Input the corresponding table label on the "Tbl_Name" entry. You must also specify the column label within the table on the "Clmn_Name" entry. Make sure that you put in the correct table and column names to receive relevant results.
-
Step 3
Look over the code that you have entered at the command prompt. Make sure your query doesn't contain items that may refer to user variables, user-defined functions or tables within the MySQL system database.
-
Step 4
Wait for the MySQL engine to display the results. Complicated queries may take the system some time to answer.
-
Step 5
Examine the results of your query. Make sure that the query has given you the data that you want.
-
Step 6
Re-enter your query if the result wasn't what you wanted. You may need to check the column or table names in the SQL database to ensure that you are wording the query correctly.











