Question: how to extract data from database using sql statement?
Answer: Select statements are used to retrieve data from SQL tables. An asterisk after the word "select" means retrieve all fields (columns). The name of the table from which you are retrieving data is specified in the From clause. Use a semicolon to signify the end of a SQL statement.