SQL Basics - Select Where
제일 기본되는 Select와
SELECT * FROM customer.customer;
select FirstName, LastName FROM customer.customer;
select FirstName, LastName, Age FROM customer.customer where FirstName = 'Mike';
2가지 조합 and, or등으로..
select FirstName, LastName, Age
FROM customer.customer
where FirstName = 'Mike'
and LastName = 'Schmidt1';
Like로 검색 %는 0 이상의 모든 캐릭터. _ 는 하나의 캐릭터..
select FirstName, LastName, Age
FROM customer.customer
where FirstName = 'Mike'
and LastName like 'Schmidt%';
링크를 클릭해야 그 시간부터 플레이 됩니다.
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기