SQLite는 연구 검토 노트

면책 조항 : https://blog.csdn.net/qq_38182125/article/details/89485785 :이 문서는 블로거 원본입니다, 소스를 표시하시기 바랍니다

개요

SQLite는 연구는 전체의 부분은 모두 SQLite는의 사용에 대해 (7) 물품으로 나누어 져 노트, SQLite는 심도있는 연구를 수행 할 수 없습니다. 독서 노트의이 시리즈는 두 권의 책에서 유래 : "SQLite는 확실한 가이드"와 "알고 있어야 SQL이 될 것"이라고 말했다. 다음 일곱 개 기사의 내용은 내용 요약을 수행합니다


예 약

다음에서 90 % 이상이 시리즈의 모든 예제 모든 문서 데이터 테이블이 포함됩니다 책 "SQL을 알아야이 될 것"

제작품:

prod_id     vend_id     prod_name          prod_price  prod_desc
----------  ----------  -----------------  ----------  --------------------------------------------
BR01        BRS01       8 inch teddy bear  5.99        8 inch teddy bear, comes with cap and jacket
BR02        BRS01       12 inch teddy bea  8.99        12 inch teddy bear, comes with cap and jacke
BR03        BRS01       18 inch teddy bea  11.99       18 inch teddy bear, comes with cap and jacke
BNBG01      DLL01       Fish bean bag toy  3.49        Fish bean bag toy, complete with bean bag wo
BNBG02      DLL01       Bird bean bag toy  3.49        Bird bean bag toy, eggs are not included
BNBG03      DLL01       Rabbit bean bag t  3.49        Rabbit bean bag toy, comes with bean bag car
RGAN01      DLL01       Raggedy Ann        4.99        18 inch Raggedy Ann doll
RYL01       FNG01       King doll          9.49        12 inch king doll with royal garments and cr
RYL02       FNG01       Queen doll         9.49        12 inch queen doll with royal garments and c

고객 :

cust_id     cust_name     cust_address    cust_city   cust_state  cust_zip    cust_country  cust_contact  cust_email    
----------  ------------  --------------  ----------  ----------  ----------  ------------  ------------  ---------------------
1000000001  Village Toys  200 Maple Lane  Detroit     MI          44444       USA           John Smith    sales@villagetoys.com
1000000002  Kids Place    333 South Lake  Columbus    OH          43333       USA           Michelle Gre  NULL          
1000000003  Fun4All       1 Sunny Place   Muncie      IN          42222       USA           Jim Jones     jjones@fun4all.com
1000000004  Fun4All       829 Riverside   Phoenix     AZ          88888       USA           Denise L. St  dstephens@fun4all.com
1000000005  The Toy Stor  4545 53rd Stre  Chicago     IL          54545       USA           Kim Howard    NULL          

명령:

order_num   order_date  cust_id
----------  ----------  ----------
20005       2012-05-01  1000000001
20006       2012-01-12  1000000003
20007       2012-01-30  1000000004
20008       2012-02-03  1000000005
20009       2012-02-08  1000000001

OrderItems에 :

order_num   order_item  prod_id     quantity    item_price
----------  ----------  ----------  ----------  ----------
20005       1           BR01        100         5.49
20005       2           BR03        100         10.99
20006       1           BR01        20          5.99
20006       2           BR02        10          8.99
20006       3           BR03        10          11.99
20007       1           BR03        50          11.49
20007       2           BNBG01      100         2.99
20007       3           BNBG02      100         2.99
20007       4           BNBG03      100         2.99
20007       5           RGAN01      50          4.49
20008       1           RGAN01      5           4.99
20008       2           BR03        5           11.99
20008       3           BNBG01      10          3.49
20008       4           BNBG02      10          3.49
20008       5           BNBG03      10          3.49
20009       1           BNBG01      250         2.49
20009       2           BNBG02      250         2.49
20009       3           BNBG03      250         2.49

자원

마지막으로, 전자 책 자원, 책 "알고 있어야 SQL이 될 것"소스 코드 리소스 "SQLite는 확실한 가이드"를 첨부 :

링크 : https://pan.baidu.com/s/1bDFa1_ScGEiwv_2TKS32EQ 추출 코드 : szd2

"SQLite는 확실한 가이드"공식 웹 사이트 : https://www.apress.com/cn

: 사이트 "알고 있어야 SQL이 될 것" http://www.forta.com/books/0672336073


저자가 제한되어 있기 때문에 또한, 실수는 내가 나에게 날개, 개인 편지를 희망하거나 기사 아래의 코멘트 섹션에 메시지를 남길 수있는, 피할 수없는 기사가 등장한다.

나는 ~이 문서가 당신을 도울 수 있도록 노력하겠습니다

추천

출처blog.csdn.net/qq_38182125/article/details/89485785