New course! Every coder should learn Generative AI!
Try a free lesson0
Not sure if this is the answer to this, but there are multiple ways to fetch records from a table. It starts with your SELECT query statement. For example:
SELECT * FROM customers; (This will return all entries in the table named customers)
But if you say wanted to only retrieve the column names FirstName and LastName:
SELECT FirstName, LastName
FROM customers;