반응형
#Greetings Grasshopper!# Using only SQL, write a query that returns all rows in the custid, custname, and custstate columns from the customers table.
###Table Description for customers:###
ColumnData TypeSizeSample
custid | integer | 8 | 4 |
custname | string | 50 | Anakin Skywalker |
custstate | string | 50 | Tatooine |
custard | string | 50 | R2-D2 |
Solution:
SELECT
custid, custname, custstate
FROM
customers
반응형
'나는 이렇게 학습한다 > Algorithm & SQL' 카테고리의 다른 글
SQL Basics - Position (0) | 2022.06.06 |
---|---|
Register for the Party (SQL for Beginners #3) (0) | 2022.06.05 |
Remove String Spaces (0) | 2022.06.04 |
On the Canadian Border (SQL for Beginners #2) (0) | 2022.06.02 |
Easy SQL: Bit Length (0) | 2022.06.02 |