init
@@ -1,2 +1,4 @@
|
|||||||
# db-lesson
|
# DB練習問題&演習課題
|
||||||
|
|
||||||
|
ファイルの先頭に、【練習問題】や【演習課題】と付けることによって振り分けています。
|
||||||
|
教室のレベルや雰囲気によって、グループ演習や個人演習などとしても良いかと思います
|
||||||
99
【演習課題】 SQL - バックアップ、リストア/【演習課題】MySQL_バックアップ&リストア演習.txt
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
# MySQL <20>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v&<26><><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD>K
|
||||||
|
|
||||||
|
## <20>O<EFBFBD><4F><EFBFBD>m<EFBFBD><6D>
|
||||||
|
#### MySQL<51>̐ݒ<CC90><DD92>t<EFBFBD>@<40>C<EFBFBD><43>
|
||||||
|
C\ProgramData\MySQL\MySQL Server 8.0\my.ini
|
||||||
|
<EFBFBD>o<EFBFBD>C<EFBFBD>i<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>̖<EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꏊ<EFBFBD>́ulog-bin<69>v<EFBFBD>Ō<EFBFBD><C58C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƕ\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
|
||||||
|
#### <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>ꂽ<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43>(<28>o<EFBFBD>C<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>O)<29>̏ꏊ
|
||||||
|
C\ProgramData\MySQL\MySQL Server 8.0\Data
|
||||||
|
|
||||||
|
#### <20><><EFBFBD>݂̍<DD82><CC8D><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>Ɏg<C98E><67><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>m<EFBFBD>F
|
||||||
|
<20>iroot<6F>ŁjSHOW MASTER STATUS;
|
||||||
|
|
||||||
|
## <20><><EFBFBD>K<EFBFBD><4B><EFBFBD><EFBFBD>1 <20>t<EFBFBD><74><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76>
|
||||||
|
- Windows<77><EFBFBD><C28B>ϐ<EFBFBD><CF90><EFBFBD>path<74><68><EFBFBD>ύX
|
||||||
|
- <20>R<EFBFBD><52><EFBFBD>g<EFBFBD><67><EFBFBD>[<5B><><EFBFBD>p<EFBFBD>l<EFBFBD><6C><EFBFBD><EFBFBD><EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD>ƃZ<C683>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>B<EFBFBD><42><EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD>̏ڍאݒ聨<DD92><EFBFBD><C28B>ϐ<EFBFBD>
|
||||||
|
- <20>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><C28B>ϐ<EFBFBD><CF90>́uPath<74>v<EFBFBD><76><EFBFBD>N<EFBFBD><4E><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD>A<EFBFBD>u<EFBFBD>ҏW<D28F>v<EFBFBD><76><EFBFBD>u<EFBFBD>V<EFBFBD>K<EFBFBD>v
|
||||||
|
- <20>uC:\Program Files\MySQL\MySQL Server 8.0\bin\<5C>v<EFBFBD>Ɠ<EFBFBD><C693>͂<EFBFBD><CD82>A<EFBFBD>uOK<4F>v
|
||||||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɂ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>g<EFBFBD>Łumysql<71>v<EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>悤<EFBFBD>ɂȂ<C982>
|
||||||
|
|
||||||
|
- <20>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>g<EFBFBD>Ŏ<EFBFBD><C58E>s
|
||||||
|
mysqldump --lock-all-tables -A -uroot -p<root<6F><74><EFBFBD>[<5B>U<EFBFBD>̃p<CC83>X<EFBFBD><58><EFBFBD>[<5B>h> > C:\backup_test.sql
|
||||||
|
<EFBFBD><EFBFBD>C<EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƀo<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
|
## <20><><EFBFBD>K1
|
||||||
|
<EFBFBD>ȉ<EFBFBD><EFBFBD>̗v<EFBFBD><EFBFBD><EFBFBD>ɏ]<5D><><EFBFBD>A<EFBFBD>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
#### <20>v<EFBFBD><76>
|
||||||
|
- <20>ۑ<EFBFBD><DB91>ꏊ
|
||||||
|
- C<>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD>
|
||||||
|
- <20>ۑ<EFBFBD><DB91>Ώ<EFBFBD>
|
||||||
|
- rezodb
|
||||||
|
- <20>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD>
|
||||||
|
- backup_<<3C><><EFBFBD>t>_<<3C><><EFBFBD>O<EFBFBD><4F><EFBFBD>[<5B>}<7D><>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>-<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>}<7D><>>.sql<71>i<EFBFBD><69><EFBFBD>Fbackup_20200414_m-yoshida.sql<71>j
|
||||||
|
- mysqldump<6D>̃I<CC83>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD>
|
||||||
|
- --flush-logs
|
||||||
|
- --lock-all-tables
|
||||||
|
- -u
|
||||||
|
- -p
|
||||||
|
#### <20>q<EFBFBD><71><EFBFBD>g
|
||||||
|
- mysqldump<6D>́u-A<>v<EFBFBD>́u<CD81><75><EFBFBD>ׂẴf<CC83>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD>v<EFBFBD>Ƃ<EFBFBD><C682><EFBFBD><EFBFBD>Ӗ<EFBFBD><D396>B
|
||||||
|
- mysql<71>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>ŁArezodb<64>ɃA<C983>N<EFBFBD>Z<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682>ɂǂ<C982><C782>Ɂurezodb<64>v<EFBFBD>Ɠ<EFBFBD><C693>͂<EFBFBD><CD82><EFBFBD><EFBFBD>H
|
||||||
|
- <20>I<EFBFBD>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>̈Ӗ<CC88><D396>c<EFBFBD>u--flush-logs<67>v=<3D>o<EFBFBD>C<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>[<5B>e<EFBFBD>[<5B>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>ȍ~<7E>̑<EFBFBD><CC91><EFBFBD><EFBFBD>͐V<CD90><56><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>C<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɕۑ<C995><DB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>j
|
||||||
|
<20>u--lock-all-tables<65>v=<3D><><EFBFBD>̓<EFBFBD><CC93>삪<EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>Œ<EFBFBD><C592>́A<CD81><41><EFBFBD>ׂẴe<CC83>[<5B>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
|
## <20><><EFBFBD>K<EFBFBD><4B><EFBFBD><EFBFBD>2 <20><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76>
|
||||||
|
1. <20>ǂ̃<C782><CC83>[<5B>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>ł<EFBFBD><C582>ǂ<EFBFBD><C782>̂<EFBFBD>rezodb<64>ɃA<C983>N<EFBFBD>Z<EFBFBD>X<EFBFBD><58><EFBFBD>Auser_table<6C>Ɉȉ<C988><C889>̃f<CC83>[<5B>^<5E><><EFBFBD>lj<EFBFBD><C789><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
INSERT INTO employee VALUES (20000, '<<3C><><EFBFBD><EFBFBD><EFBFBD>̃t<CC83><74><EFBFBD>l<EFBFBD>[<5B><>>', '<<3C><><EFBFBD><EFBFBD><EFBFBD>̃t<CC83><74><EFBFBD>l<EFBFBD>[<5B><><EFBFBD>J<EFBFBD>i>','my@hoge.jp','xxx','10');
|
||||||
|
|
||||||
|
2. <20>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>g<EFBFBD>Ŏ<EFBFBD><C58E>s<EFBFBD><73><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
mysqlbinlog "C:\ProgramData\MySQL\MySQL Server 8.0\Data\<<3C>o<EFBFBD>C<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD>>" > C:\backup_test2.sql
|
||||||
|
|
||||||
|
## <20><><EFBFBD>K2
|
||||||
|
<EFBFBD>ȉ<EFBFBD><EFBFBD>̗v<EFBFBD><EFBFBD><EFBFBD>ɏ]<5D><><EFBFBD>A<EFBFBD>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
### <20>v<EFBFBD><76><EFBFBD>F
|
||||||
|
- <20>ۑ<EFBFBD><DB91>ꏊ
|
||||||
|
- C<>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD>
|
||||||
|
- <20>ۑ<EFBFBD><DB91>Ώ<EFBFBD>
|
||||||
|
- <20><><EFBFBD>݂̍<DD82><CC8D><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v
|
||||||
|
- <20>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD>
|
||||||
|
- backup2_<<3C><><EFBFBD>t>_<<3C><><EFBFBD>O<EFBFBD><4F><EFBFBD>[<5B>}<7D><>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>-<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>}<7D><>>.sql
|
||||||
|
|
||||||
|
## <20><><EFBFBD>K3 <20><><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41>
|
||||||
|
|
||||||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӁI<EFBFBD>@<40><><EFBFBD>O<EFBFBD>ɁA<C981><41><EFBFBD>L<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_<EFBFBD>ɕۑ<C995><DB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>݂<EFBFBD><DD82>邱<EFBFBD>ƁA<C681><41><EFBFBD>e<EFBFBD><65><EFBFBD>ςɂȂ<C982><C882>Ă<EFBFBD><C482>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD>i2<69>̃o<CC83>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD>ɂȂ<C982><C882>Ă<EFBFBD><C482>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD><EFBFBD><EFBFBD>j<EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
|
||||||
|
1. root<6F><74>rezodb<64>Ƀ<EFBFBD><C983>O<EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
SHOW TABLES FROM rezodb;
|
||||||
|
|
||||||
|
2. <20><><EFBFBD>ׂẴe<CC83>[<5B>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD>폜<EFBFBD><ED8F9C><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD>A<EFBFBD>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
DROP TABLES <<3C>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD><EFBFBD>>;
|
||||||
|
|
||||||
|
3. <20>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
\q<><71>mysql<71><6C><EFBFBD>甲<EFBFBD><E794B2><EFBFBD>o<EFBFBD><6F><EFBFBD>A<EFBFBD>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
mysql -uroot -p<root<6F>p<EFBFBD>X<EFBFBD><58><EFBFBD>[<5B>h> rezodb < <<3C><><EFBFBD>L<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_<EFBFBD>ɕۑ<C995><DB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>̃t<CC83><74><EFBFBD>p<EFBFBD>X>
|
||||||
|
|
||||||
|
4. <20><><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD>t<EFBFBD><74><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>̂<EFBFBD><CC82>̂ɂȂ<C982><C882>Ă<EFBFBD><C482>邩<EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
user_table<6C>̓<EFBFBD><CC93>e<EFBFBD><65><EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
|
||||||
|
5. <20><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>̓<EFBFBD><CC93>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
\q<><71>mysql<71><6C><EFBFBD>甲<EFBFBD><E794B2><EFBFBD>o<EFBFBD><6F><EFBFBD>A<EFBFBD>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
mysql -uroot -p<root<6F>p<EFBFBD>X<EFBFBD><58><EFBFBD>[<5B>h> rezodb < <<3C><><EFBFBD>L<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_<EFBFBD>ɕۑ<C995><DB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>̃t<CC83><74><EFBFBD>p<EFBFBD>X>
|
||||||
|
|
||||||
|
6. <20><><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>̂<EFBFBD><CC82>̂ɂȂ<C982><C882>Ă<EFBFBD><C482>邩<EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
user_table<6C>̓<EFBFBD><CC93>e<EFBFBD><65><EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
|
||||||
|
7. <20><><EFBFBD>{<7B><><EFBFBD>̑S<CC91>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
- <20>v<EFBFBD><76>
|
||||||
|
- <20>ۑ<EFBFBD><DB91>ꏊ
|
||||||
|
- C<>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>̒<EFBFBD><CC92><EFBFBD>
|
||||||
|
- <20>ۑ<EFBFBD><DB91>Ώ<EFBFBD>
|
||||||
|
- rezodb<64>u<EFBFBD>̂݁v
|
||||||
|
- <20>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD>
|
||||||
|
backup3_<<3C><><EFBFBD>t>_<<3C><><EFBFBD>O<EFBFBD><4F><EFBFBD>[<5B>}<7D><>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>-<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>}<7D><>>.sql
|
||||||
|
- mysqldump<6D>̃I<CC83>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD>
|
||||||
|
- --flush-logs
|
||||||
|
- --lock-all-tables
|
||||||
|
- -u
|
||||||
|
- -p
|
||||||
|
|
||||||
@@ -0,0 +1,87 @@
|
|||||||
|
# MySQL <20>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v&<26><><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD>K
|
||||||
|
|
||||||
|
## <20>O<EFBFBD><4F><EFBFBD>m<EFBFBD><6D>
|
||||||
|
* MySQL<51>̐ݒ<CC90><DD92>t<EFBFBD>@<40>C<EFBFBD><43>
|
||||||
|
C\ProgramData\MySQL\MySQL Server 8.0\my.ini
|
||||||
|
<20>o<EFBFBD>C<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>̖<EFBFBD><CC96>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>ꏊ<EFBFBD>́ulog-bin<69>v<EFBFBD>Ō<EFBFBD><C58C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƕ\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
|
||||||
|
* <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>ꂽ<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43>(<28>o<EFBFBD>C<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>O)<29>̏ꏊ
|
||||||
|
C\ProgramData\MySQL\MySQL Server 8.0\Data
|
||||||
|
|
||||||
|
* <20><><EFBFBD>݂̍<DD82><CC8D><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>Ɏg<C98E><67><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>m<EFBFBD>F
|
||||||
|
<20>iroot<6F>ŁjSHOW MASTER STATUS;
|
||||||
|
|
||||||
|
## <20><><EFBFBD>K<EFBFBD><4B><EFBFBD><EFBFBD>1 <20>t<EFBFBD><74><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76>
|
||||||
|
1. Windows<77><EFBFBD><C28B>ϐ<EFBFBD><CF90><EFBFBD>path<74><68><EFBFBD>ύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
<20>R<EFBFBD><52><EFBFBD>g<EFBFBD><67><EFBFBD>[<5B><><EFBFBD>p<EFBFBD>l<EFBFBD><6C><EFBFBD><EFBFBD><EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD>ƃZ<C683>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>B<EFBFBD><42><EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD>̏ڍאݒ聨<DD92><EFBFBD><C28B>ϐ<EFBFBD>
|
||||||
|
<20><EFBFBD><C28B>ϐ<EFBFBD><CF90>uPath<74>v<EFBFBD><76><EFBFBD>N<EFBFBD><4E><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD>A<EFBFBD>u<EFBFBD>ҏW<D28F>v<EFBFBD><76><EFBFBD>u<EFBFBD>V<EFBFBD>K<EFBFBD>v
|
||||||
|
<20>uC:\Program Files\MySQL\MySQL Server 8.0\bin\<5C>v<EFBFBD>Ɠ<EFBFBD><C693>͂<EFBFBD><CD82>A<EFBFBD>uOK<4F>v
|
||||||
|
<20>˂<EFBFBD><CB82><EFBFBD><EFBFBD>ɂ<EFBFBD><C982><EFBFBD><EFBFBD>A<EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>g<EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882>umysql<71>v<EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>悤<EFBFBD>ɂȂ<C982><C882>܂<EFBFBD><DC82>B
|
||||||
|
<20>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>܂ł́Acd "C:\Program Files\MySQL\MySQL Server 8.0\bin\" <20><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD>mysql<71><6C><EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_<EFBFBD>Ɉړ<C988><DA93><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882>Ǝ<EFBFBD><C68E>s<EFBFBD>ł<EFBFBD><C582>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD><EFBFBD><EFBFBD>j
|
||||||
|
|
||||||
|
2. <20>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>g<EFBFBD>Ŏ<EFBFBD><C58E>s<EFBFBD><73><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
mysqldump --lock-all-tables -A -uroot -p<root<6F><74><EFBFBD>[<5B>U<EFBFBD>̃p<CC83>X<EFBFBD><58><EFBFBD>[<5B>h> > C:\Users\Owner\Desktop\backup_test.sql
|
||||||
|
|
||||||
|
## <20><><EFBFBD>K1
|
||||||
|
<EFBFBD>ȉ<EFBFBD><EFBFBD>̗v<EFBFBD><EFBFBD><EFBFBD>ɏ]<5D><><EFBFBD>A<EFBFBD>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
* <20>v<EFBFBD><76><EFBFBD>F
|
||||||
|
* <20>ۑ<EFBFBD><DB91>ꏊ<EFBFBD>F<EFBFBD>u<EFBFBD>h<EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>v<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_
|
||||||
|
* <20>ۑ<EFBFBD><DB91>ΏہFrezodb<64>u<EFBFBD>̂݁v
|
||||||
|
* <20>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>Fbackup_<<3C><><EFBFBD>t>_<<3C><><EFBFBD>O<EFBFBD><4F><EFBFBD>[<5B>}<7D><>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>-<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>}<7D><>>.sql
|
||||||
|
* mysqldump<6D>̃I<CC83>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>F--flush-logs<67>A--lock-all-tables<65>A-u<>A-p
|
||||||
|
* <20>q<EFBFBD><71><EFBFBD>g<EFBFBD>F
|
||||||
|
* mysqldump<6D>́u-A<>v<EFBFBD>́u<CD81><75><EFBFBD>ׂẴf<CC83>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD>v<EFBFBD>Ƃ<EFBFBD><C682><EFBFBD><EFBFBD>Ӗ<EFBFBD><D396>B
|
||||||
|
* mysql<71>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>ŁArezodb<64>ɃA<C983>N<EFBFBD>Z<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682>ɂǂ<C982><C782>Ɂurezodb<64>v<EFBFBD>Ɠ<EFBFBD><C693>͂<EFBFBD><CD82><EFBFBD><EFBFBD>H
|
||||||
|
* <20>I<EFBFBD>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>̈Ӗ<CC88><D396>c<EFBFBD>u--flush-logs<67>v=<3D>o<EFBFBD>C<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>[<5B>e<EFBFBD>[<5B>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>ȍ~<7E>̑<EFBFBD><CC91><EFBFBD><EFBFBD>͐V<CD90><56><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>C<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɕۑ<C995><DB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>j
|
||||||
|
<20>u--lock-all-tables<65>v=<3D><><EFBFBD>̓<EFBFBD><CC93>삪<EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>Œ<EFBFBD><C592>́A<CD81><41><EFBFBD>ׂẴe<CC83>[<5B>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD>
|
||||||
|
* <20><><EFBFBD>o<EFBFBD><6F><EFBFBD>F
|
||||||
|
* backup_<<3C><><EFBFBD>t>_<<3C><><EFBFBD>O<EFBFBD><4F><EFBFBD>[<5B>}<7D><>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>-<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>}<7D><>>.sql
|
||||||
|
<20><><EFBFBD>jbackup_20200414_m-yoshida.sql
|
||||||
|
## <20><><EFBFBD>K<EFBFBD><4B><EFBFBD><EFBFBD>2 <20><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76>
|
||||||
|
1. <20>ǂ̃<C782><CC83>[<5B>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>ł<EFBFBD><C582>ǂ<EFBFBD><C782>̂<EFBFBD>rezodb<64>ɃA<C983>N<EFBFBD>Z<EFBFBD>X<EFBFBD><58><EFBFBD>Auser_table<6C>Ɉȉ<C988><C889>̃f<CC83>[<5B>^<5E><><EFBFBD>lj<EFBFBD><C789><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
INSERT INTO user_table VALUES (4, '<<3C><><EFBFBD><EFBFBD><EFBFBD>̖<EFBFBD><CC96><EFBFBD>>', '01234567890');
|
||||||
|
|
||||||
|
2. <20>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>g<EFBFBD>Ŏ<EFBFBD><C58E>s<EFBFBD><73><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
mysqlbinlog "C:\ProgramData\MySQL\MySQL Server 8.0\Data\<<3C>o<EFBFBD>C<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD>>" > C:\Users\Owner\Desktop\backup_test2.sql
|
||||||
|
|
||||||
|
## <20><><EFBFBD>K2
|
||||||
|
<EFBFBD>ȉ<EFBFBD><EFBFBD>̗v<EFBFBD><EFBFBD><EFBFBD>ɏ]<5D><><EFBFBD>A<EFBFBD>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
* <20>v<EFBFBD><76><EFBFBD>F
|
||||||
|
* <20>ۑ<EFBFBD><DB91>ꏊ<EFBFBD>F<EFBFBD>u<EFBFBD>h<EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>v<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_
|
||||||
|
* <20>ۑ<EFBFBD><DB91>ΏہF<DB81><46><EFBFBD>݂̍<DD82><CC8D><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v
|
||||||
|
* <20>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>Fbackup2_<<3C><><EFBFBD>t>_<<3C><><EFBFBD>O<EFBFBD><4F><EFBFBD>[<5B>}<7D><>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>-<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>}<7D><>>.sql
|
||||||
|
* <20><><EFBFBD>o<EFBFBD><6F><EFBFBD>F
|
||||||
|
* backup2_<<3C><><EFBFBD>t>_<<3C><><EFBFBD>O<EFBFBD><4F><EFBFBD>[<5B>}<7D><>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>-<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>}<7D><>>.sql
|
||||||
|
|
||||||
|
## <20><><EFBFBD>K3 <20><><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41>
|
||||||
|
|
||||||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӁI<EFBFBD>@<40><><EFBFBD>O<EFBFBD>ɁA<C981><41><EFBFBD>L<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_<EFBFBD>ɕۑ<C995><DB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>݂<EFBFBD><DD82>邱<EFBFBD>ƁA<C681><41><EFBFBD>e<EFBFBD><65><EFBFBD>ςɂȂ<C982><C882>Ă<EFBFBD><C482>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD>i2<69>̃o<CC83>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD>ɂȂ<C982><C882>Ă<EFBFBD><C482>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD><EFBFBD><EFBFBD>j<EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
|
||||||
|
1. root<6F><74>rezodb<64>Ƀ<EFBFBD><C983>O<EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
SHOW TABLES FROM rezodb;
|
||||||
|
|
||||||
|
2. <20><><EFBFBD>ׂẴe<CC83>[<5B>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD>폜<EFBFBD><ED8F9C><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD>A<EFBFBD>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
DROP TABLES <<3C>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD><EFBFBD>>;
|
||||||
|
|
||||||
|
3. <20>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
\q<><71>mysql<71><6C><EFBFBD>甲<EFBFBD><E794B2><EFBFBD>o<EFBFBD><6F><EFBFBD>A<EFBFBD>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
mysql -uroot -p<root<6F>p<EFBFBD>X<EFBFBD><58><EFBFBD>[<5B>h> rezodb < <<3C><><EFBFBD>L<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_<EFBFBD>ɕۑ<C995><DB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>̃t<CC83><74><EFBFBD>p<EFBFBD>X>
|
||||||
|
|
||||||
|
4. <20><><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD>t<EFBFBD><74><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>̂<EFBFBD><CC82>̂ɂȂ<C982><C882>Ă<EFBFBD><C482>邩<EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
user_table<6C>̓<EFBFBD><CC93>e<EFBFBD><65><EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
|
||||||
|
5. <20><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>̓<EFBFBD><CC93>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
\q<><71>mysql<71><6C><EFBFBD>甲<EFBFBD><E794B2><EFBFBD>o<EFBFBD><6F><EFBFBD>A<EFBFBD>ȉ<EFBFBD><C889>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
mysql -uroot -p<root<6F>p<EFBFBD>X<EFBFBD><58><EFBFBD>[<5B>h> rezodb < <<3C><><EFBFBD>L<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_<EFBFBD>ɕۑ<C995><DB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>̃t<CC83><74><EFBFBD>p<EFBFBD>X>
|
||||||
|
|
||||||
|
6. <20><><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>̂<EFBFBD><CC82>̂ɂȂ<C982><C882>Ă<EFBFBD><C482>邩<EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>܂<EFBFBD><DC82>B
|
||||||
|
user_table<6C>̓<EFBFBD><CC93>e<EFBFBD><65><EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
|
||||||
|
7. <20><><EFBFBD>{<7B><><EFBFBD>̑S<CC91>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
* <20>v<EFBFBD><76><EFBFBD>F
|
||||||
|
* <20>ۑ<EFBFBD><DB91>ꏊ<EFBFBD>F<EFBFBD>u<EFBFBD>h<EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>v<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_
|
||||||
|
* <20>ۑ<EFBFBD><DB91>ΏہFrezodb<64>u<EFBFBD>̂݁v
|
||||||
|
* <20>o<EFBFBD>b<EFBFBD>N<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>Fbackup3_<<3C><><EFBFBD>t>_<<3C><><EFBFBD>O<EFBFBD><4F><EFBFBD>[<5B>}<7D><>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>-<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>}<7D><>>.sql
|
||||||
|
* mysqldump<6D>̃I<CC83>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>F--flush-logs<67>A--lock-all-tables<65>A-u<>A-p
|
||||||
|
* <20><><EFBFBD>o<EFBFBD><6F><EFBFBD>F
|
||||||
|
* backup3_<<3C><><EFBFBD>t>_<<3C><><EFBFBD>O<EFBFBD><4F><EFBFBD>[<5B>}<7D><>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>-<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>}<7D><>>.sql
|
||||||
BIN
【演習課題】 テーブル設計/テーブル設計演習.pdf
Normal file
BIN
【演習課題】 テーブル設計/社内SNS限定の出題/データベース課題.pptx
Normal file
30
【演習課題】 テーブル設計/講師用README/ER図レビューチェックポイント.txt
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<EFBFBD>E<EFBFBD>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD>̒P<CC92>ʂ̑Ó<CC91><C393><EFBFBD>
|
||||||
|
<09>Ǘ<EFBFBD><C797><EFBFBD><EFBFBD><EFBFBD><EFBFBD>P<EFBFBD>ʂ<EFBFBD><CA82>Ó<EFBFBD><C393><EFBFBD>
|
||||||
|
|
||||||
|
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD>K<EFBFBD><EFBFBD><EFBFBD>̑Ó<EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
<09><><EFBFBD>K<EFBFBD><4B><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD>ɂ<C982><C282>Ă͂<C482><CD82>̑Ó<CC91><C393><EFBFBD><EFBFBD>ɂ<C982><C282>Ċm<C48A>F
|
||||||
|
<09><><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD>P<EFBFBD>Ȃǂ<C882><C782><EFBFBD><EFBFBD>A<CE83>h<EFBFBD>o<EFBFBD>C<EFBFBD>X
|
||||||
|
|
||||||
|
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD>L<EFBFBD>[<5B>̑Ó<CC91><C393><EFBFBD>
|
||||||
|
<09>E<EFBFBD><45><EFBFBD>L<EFBFBD>[<5B><>1<EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ł<EFBFBD><C582>Ă<EFBFBD><C482>邩
|
||||||
|
<09>E<EFBFBD>T<EFBFBD><54><EFBFBD>Q<EFBFBD>[<5B>g<EFBFBD>L<EFBFBD>[<5B>g<EFBFBD><67><EFBFBD>Ă邩
|
||||||
|
|
||||||
|
<EFBFBD>E<EFBFBD>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD>E<EFBFBD><45><EFBFBD>ڂ̐o<F482A28F><6F><EFBFBD>Ó<EFBFBD><C393><EFBFBD>
|
||||||
|
<09>E<EFBFBD><45><EFBFBD>ʃ<EFBFBD><CA83>C<EFBFBD>A<EFBFBD>E<EFBFBD>g<EFBFBD>ɑ<EFBFBD><C991>݂<EFBFBD><DD82>鍀<EFBFBD>ڂ<EFBFBD><DA82>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD>ڂɑ<DA82><C991>݂<EFBFBD><DD82>邩
|
||||||
|
<20>i<EFBFBD><69><EFBFBD>v<EFBFBD><76><EFBFBD>鍀<EFBFBD>ڂ<EFBFBD><DA82>Ȃ<EFBFBD><C882>Ă<EFBFBD><C482><EFBFBD><EFBFBD>̍<EFBFBD><CC8D>ڂ<EFBFBD><DA82><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʕ\<5C><><EFBFBD>ɕҏW<D28F><57><EFBFBD>ĕ\<5C><><EFBFBD>ł<EFBFBD><C582>邩<EFBFBD>j
|
||||||
|
<09>E<EFBFBD>Ɩ<EFBFBD><C696>t<EFBFBD><74><EFBFBD>[<5B><><EFBFBD>d<EFBFBD>g<EFBFBD>ݏ<EFBFBD><DD8F>ŕK<C595>v<EFBFBD>ȏ<EFBFBD><C88F><EFBFBD><EFBFBD>i<EFBFBD><69><EFBFBD>ځj<DA81><6A><EFBFBD><EFBFBD><EFBFBD>݂<EFBFBD><DD82>邩
|
||||||
|
|
||||||
|
<EFBFBD>E<EFBFBD>e<EFBFBD>q<EFBFBD>W<EFBFBD>̃e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쐬<EFBFBD>ł<EFBFBD><C582>Ă<EFBFBD><C482>邩
|
||||||
|
EC<45>T<EFBFBD>C<EFBFBD>g<EFBFBD>Ȃǂ͒<C782><CD92><EFBFBD><EFBFBD>e<EFBFBD>[<5B>u<EFBFBD><75>(<28><><EFBFBD><EFBFBD>No)<29>ƒ<EFBFBD><C692><EFBFBD><EFBFBD><EFBFBD><EFBFBD>׃e<D783>[<5B>u<EFBFBD><75>(<28><><EFBFBD><EFBFBD>No,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>No)<29><><EFBFBD>K<EFBFBD>v<EFBFBD>ȏꍇ<C88F><EA8D87><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
<09>e<EFBFBD>q<EFBFBD>W<D68C><57><EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><C282>͓̂<CD93><EF82B5><EFBFBD>A1<41>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD>ɂ<EFBFBD><C982>Ă<EFBFBD><C482>܂<EFBFBD><DC82>璷<EFBFBD>ȍ<EFBFBD><C88D>ڂ<EFBFBD><DA82>܂ރe<DE83>[<5B>u<EFBFBD><75><EFBFBD>ɂȂ<C982><C882>Ă<EFBFBD><C482>܂<EFBFBD><DC82><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
|
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>O<EFBFBD><4F><EFBFBD>L<EFBFBD>[<5B>j<EFBFBD>̑Ó<CC91><C393><EFBFBD>
|
||||||
|
|
||||||
|
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD>d<EFBFBD>x(1<>Α<EFBFBD><CE91>Ȃǁj<C781>̑Ó<CC91><C393><EFBFBD>
|
||||||
|
|
||||||
|
<EFBFBD>E<EFBFBD>f<EFBFBD>[<5B>^<5E>^<5E>⌅<EFBFBD><E28C85><EFBFBD><EFBFBD><EFBFBD>ݒ肵<DD92>Ă<EFBFBD><C482><EFBFBD><EFBFBD>ꍇ<EFBFBD>͂<EFBFBD><CD82><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̑Ó<CC91><C393><EFBFBD>
|
||||||
|
|
||||||
|
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD>z<EFBFBD><EFBFBD><EFBFBD>ڂɂ<EFBFBD><EFBFBD>Ă͏<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ł<EFBFBD><EFBFBD>l<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><EFBFBD>邩
|
||||||
|
|
||||||
|
<EFBFBD>E<EFBFBD>_<EFBFBD><EFBFBD><EFBFBD>폜<EFBFBD>A<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>폜<EFBFBD><EFBFBD><EFBFBD>l<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ə<EFBFBD><EFBFBD>ǂ<EFBFBD>
|
||||||
|
|
||||||
66
【演習課題】 テーブル設計/講師用README/テーブル設計演習.md
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
# テーブル設計演習
|
||||||
|
|
||||||
|
### 演習目的
|
||||||
|
|
||||||
|
- 具体的なシステムの要件をテーブル設計に落とし込む手順を体験し学ぶ
|
||||||
|
- 正規化の手順の確認を行う
|
||||||
|
- 本演習をとおして以下のようなビジネススキルも合わせて学習
|
||||||
|
- 納期の重要さ
|
||||||
|
- 調査力
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### 問題
|
||||||
|
|
||||||
|
身近なシステム(SNS、ECサイト等なんでも)が、どんなテーブル構造になっているか考えて設計してください。
|
||||||
|
* 大規模なシステムのテーブル設計を一日で考えるのは無理なので、範囲(スコープ)を制限して作成してください。
|
||||||
|
* 以下の条件を満たすものを作成してください。
|
||||||
|
* テーブルは2つ以上にすること
|
||||||
|
* 論理名、物理名、データ型、サイズ、主キーをしっかり定義すること
|
||||||
|
* 関係性(リレーションとカーディナリティ(多重度))も記載すること
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### 作業の進め方
|
||||||
|
|
||||||
|
- 題材を決めて、作成する範囲(スコープ)を決定する。
|
||||||
|
- どんな画面(機能)構成になっているか洗い出す。
|
||||||
|
- 実際のシステムの画面項目や仕組みから想定して、必要な項目を列挙
|
||||||
|
- 構成を図におこす
|
||||||
|
- できるだけ正規化を行ってください
|
||||||
|
- テーブル間の関係性を考慮しましょう
|
||||||
|
- ER図の記載ルールを意識してください
|
||||||
|
|
||||||
|
※途中で質問も受け付けます。
|
||||||
|
|
||||||
|
**!!タイムマネジメントしましょう!!**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### 提出物
|
||||||
|
|
||||||
|
ER図(ファイル形式は自由)
|
||||||
|
|
||||||
|
- 提出時間は厳守してください。
|
||||||
|
|
||||||
|
万が一間に合わない場合は、わかった時点ですぐに報告してください。
|
||||||
|
|
||||||
|
その際に、遅延理由・いつまでに提出可能かも報告してください。
|
||||||
|
|
||||||
|
提出時間の直前や過ぎてからの報告では遅すぎます。
|
||||||
|
|
||||||
|
- 紙で書いた場合、写真撮って提出でも良いです。
|
||||||
|
|
||||||
|
- A5:SQL Mk-2といったDBのGUIツールのER図作成機能も使いやすいです。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### 発表
|
||||||
|
|
||||||
|
提出後、グループ毎に発表(概要説明)をお願いします。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### その他
|
||||||
|
|
||||||
|
休憩は各グループごとに適宜とってください。
|
||||||
15
【演習課題】 テーブル設計/講師用README/講師用README.txt
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<EFBFBD>u<EFBFBD>t<EFBFBD>pREADME
|
||||||
|
1. <20>o<EFBFBD><6F><EFBFBD>ɂ<C982><C282><EFBFBD>
|
||||||
|
<09><><EFBFBD><EFBFBD><EFBFBD>{<7B>I<EFBFBD>ɂ͈ȉ<CD88><C889><EFBFBD><EFBFBD>o<EFBFBD>肷<EFBFBD><E882B7>
|
||||||
|
<09>@<40>y<EFBFBD><79><EFBFBD>K<EFBFBD>ۑ<EFBFBD><DB91>z <20>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD>v<DD8C><76><EFBFBD>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD>v<DD8C><76><EFBFBD>K.pdf
|
||||||
|
|
||||||
|
<09><><EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>肵<EFBFBD><E882B5><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD><69><EFBFBD>Փx<D593>𑵂<EFBFBD><F091B582><EFBFBD><EFBFBD><EFBFBD><EFBFBD>j<EFBFBD>ꍇ<EFBFBD>͈ȉ<CD88><C889><EFBFBD><EFBFBD>o<EFBFBD><6F>
|
||||||
|
<09>@<40>y<EFBFBD><79><EFBFBD>K<EFBFBD>ۑ<EFBFBD><DB91>z <20>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD>v<DD8C><76><EFBFBD>Г<EFBFBD>SNS<4E><53><EFBFBD><EFBFBD><EFBFBD>̏o<CC8F>聄<EFBFBD>f<EFBFBD>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD>ۑ<EFBFBD>.pptx
|
||||||
|
|
||||||
|
2. <20><><EFBFBD>\<5C><><EFBFBD>ăt<C483>B<EFBFBD>[<5B>h<EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD>ۂ̃`<60>F<EFBFBD>b<EFBFBD>N<EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>g
|
||||||
|
ER<45>}<7D><><EFBFBD>r<EFBFBD><72><EFBFBD>[<5B>`<60>F<EFBFBD>b<EFBFBD>N<EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>g.txt<78>Q<EFBFBD><51>
|
||||||
|
<09><><EFBFBD><EFBFBD><EFBFBD>ɂ<EFBFBD><C982>`<60>F<EFBFBD>b<EFBFBD>N<EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>Βlj<CE92><C789><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
|
||||||
|
|
||||||
|
3. <20>o<EFBFBD><6F>PDF<44>̏C<CC8F><43><EFBFBD>ɂ<C982><C282><EFBFBD>
|
||||||
|
<09><><EFBFBD>̃t<CC83>@<40>C<EFBFBD><43><EFBFBD>Ɠ<EFBFBD><C693><EFBFBD><EFBFBD>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>ɂ<EFBFBD><C982><EFBFBD><EFBFBD>u<EFBFBD>e<EFBFBD>[<5B>u<EFBFBD><75><EFBFBD>v<DD8C><76><EFBFBD>K.md<6D>v<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>APDF<44>ɕϊ<C995>
|
||||||
|
<09>iTypora<72><61><EFBFBD><EFBFBD>Markdown<77>G<EFBFBD>f<EFBFBD>B<EFBFBD>^<5E><><EFBFBD>g<EFBFBD><67><EFBFBD>āj
|
||||||
514
【練習問題】 SQL/Question1/MySQL_Questions1.html
Normal file
@@ -0,0 +1,514 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>MySQL SQL問題集1</title>
|
||||||
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/*---------------------------------------------------------------------------------------------
|
||||||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Segoe WPC", "Segoe UI", "SFUIText-Light", "HelveticaNeue-Light", sans-serif, "Droid Sans Fallback";
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 0 12px;
|
||||||
|
line-height: 22px;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
#code-csp-warning {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
color: white;
|
||||||
|
margin: 16px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 12px;
|
||||||
|
font-family: sans-serif;
|
||||||
|
background-color:#444444;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 6px;
|
||||||
|
box-shadow: 1px 1px 1px rgba(0,0,0,.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
#code-csp-warning:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
background-color:#007acc;
|
||||||
|
box-shadow: 2px 2px 2px rgba(0,0,0,.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
body.scrollBeyondLastLine {
|
||||||
|
margin-bottom: calc(100vh - 22px);
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection .code-line {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection .code-active-line:before,
|
||||||
|
body.showEditorSelection .code-line:hover:before {
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: -12px;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection li.code-active-line:before,
|
||||||
|
body.showEditorSelection li.code-line:hover:before {
|
||||||
|
left: -30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(0, 0, 0, 0.40);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(255, 255, 255, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(255, 255, 255, 0.60);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(255, 160, 0, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(255, 160, 0, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #4080D0;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:focus,
|
||||||
|
input:focus,
|
||||||
|
select:focus,
|
||||||
|
textarea:focus {
|
||||||
|
outline: 1px solid -webkit-focus-ring-color;
|
||||||
|
outline-offset: -1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: 0;
|
||||||
|
height: 2px;
|
||||||
|
border-bottom: 2px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
padding-bottom: 0.3em;
|
||||||
|
line-height: 1.2;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3 {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 code,
|
||||||
|
h2 code,
|
||||||
|
h3 code,
|
||||||
|
h4 code,
|
||||||
|
h5 code,
|
||||||
|
h6 code {
|
||||||
|
font-size: inherit;
|
||||||
|
line-height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #4080D0;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > thead > tr > th {
|
||||||
|
text-align: left;
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > thead > tr > th,
|
||||||
|
table > thead > tr > td,
|
||||||
|
table > tbody > tr > th,
|
||||||
|
table > tbody > tr > td {
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > tbody > tr + tr > td {
|
||||||
|
border-top: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin: 0 7px 0 5px;
|
||||||
|
padding: 0 16px 0 10px;
|
||||||
|
border-left: 5px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback";
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.wordWrap pre {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mac code {
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre:not(.hljs),
|
||||||
|
pre.hljs code > div {
|
||||||
|
padding: 16px;
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Theming */
|
||||||
|
|
||||||
|
.vscode-light,
|
||||||
|
.vscode-light pre code {
|
||||||
|
color: rgb(30, 30, 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark,
|
||||||
|
.vscode-dark pre code {
|
||||||
|
color: #DDD;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast,
|
||||||
|
.vscode-high-contrast pre code {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light code {
|
||||||
|
color: #A31515;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark code {
|
||||||
|
color: #D7BA7D;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light pre:not(.hljs),
|
||||||
|
.vscode-light code > div {
|
||||||
|
background-color: rgba(220, 220, 220, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark pre:not(.hljs),
|
||||||
|
.vscode-dark code > div {
|
||||||
|
background-color: rgba(10, 10, 10, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast pre:not(.hljs),
|
||||||
|
.vscode-high-contrast code > div {
|
||||||
|
background-color: rgb(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast h1 {
|
||||||
|
border-color: rgb(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light table > thead > tr > th {
|
||||||
|
border-color: rgba(0, 0, 0, 0.69);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark table > thead > tr > th {
|
||||||
|
border-color: rgba(255, 255, 255, 0.69);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light h1,
|
||||||
|
.vscode-light hr,
|
||||||
|
.vscode-light table > tbody > tr + tr > td {
|
||||||
|
border-color: rgba(0, 0, 0, 0.18);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark h1,
|
||||||
|
.vscode-dark hr,
|
||||||
|
.vscode-dark table > tbody > tr + tr > td {
|
||||||
|
border-color: rgba(255, 255, 255, 0.18);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light blockquote,
|
||||||
|
.vscode-dark blockquote {
|
||||||
|
background: rgba(127, 127, 127, 0.1);
|
||||||
|
border-color: rgba(0, 122, 204, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast blockquote {
|
||||||
|
background: transparent;
|
||||||
|
border-color: #fff;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/* Tomorrow Theme */
|
||||||
|
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
||||||
|
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
||||||
|
|
||||||
|
/* Tomorrow Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #8e908c;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #c82829;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-link {
|
||||||
|
color: #f5871f;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Yellow */
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #eab700;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #718c00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #4271ae;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #8959a8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
color: #4d4d4c;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/*
|
||||||
|
* Markdown PDF CSS
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Meiryo", "Segoe WPC", "Segoe UI", "SFUIText-Light", "HelveticaNeue-Light", sans-serif, "Droid Sans Fallback";
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
border: 1px solid #cccccc;
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre:not(.hljs) {
|
||||||
|
padding: 23px;
|
||||||
|
line-height: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
background: rgba(127, 127, 127, 0.1);
|
||||||
|
border-color: rgba(0, 122, 204, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.emoji {
|
||||||
|
height: 1.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* for inline code */
|
||||||
|
:not(pre):not(.hljs) > code {
|
||||||
|
color: #C9AE75; /* Change the old color so it seems less like an error */
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Page Break : use <div class="page"/> to insert page break
|
||||||
|
-------------------------------------------------------- */
|
||||||
|
.page {
|
||||||
|
page-break-after: always;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<h1>MySQL SQL問題集 part1</h1>
|
||||||
|
<p><strong>基礎DDL, DML練習</strong></p>
|
||||||
|
<p><a href="../Question2/MySQL_Questions2.html">MySQL SQL問題集 part2</a></p>
|
||||||
|
<h2><strong>問1 テーブル作成</strong></h2>
|
||||||
|
<p>図のようなテーブルを作成してください。</p>
|
||||||
|
<h3>テーブル名</h3>
|
||||||
|
<p><strong>book_table</strong></p>
|
||||||
|
<h3>カラム</h3>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">物理カラム名</th>
|
||||||
|
<th style="text-align:center">論理カラム名</th>
|
||||||
|
<th style="text-align:center">型</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">book_id</td>
|
||||||
|
<td style="text-align:center">書籍ID</td>
|
||||||
|
<td style="text-align:center">INT</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">book_name</td>
|
||||||
|
<td style="text-align:center">書籍名</td>
|
||||||
|
<td style="text-align:center">VARCHAR(50)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">author_name</td>
|
||||||
|
<td style="text-align:center">著者</td>
|
||||||
|
<td style="text-align:center">VARCHAR(50)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">price</td>
|
||||||
|
<td style="text-align:center">価格</td>
|
||||||
|
<td style="text-align:center">INT</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">sales_flag</td>
|
||||||
|
<td style="text-align:center">販売有無</td>
|
||||||
|
<td style="text-align:center">INT</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<h2><strong>問2 データ挿入</strong></h2>
|
||||||
|
<p>作成したテーブルに以下のデータを追加してください</p>
|
||||||
|
<h3>データ</h3>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">book_id</th>
|
||||||
|
<th style="text-align:center">book_name</th>
|
||||||
|
<th style="text-align:center">author_name</th>
|
||||||
|
<th style="text-align:center">price</th>
|
||||||
|
<th style="text-align:center">sales_flag</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">10001</td>
|
||||||
|
<td style="text-align:center">TwoPeace</td>
|
||||||
|
<td style="text-align:center">三田英一郎</td>
|
||||||
|
<td style="text-align:center">420</td>
|
||||||
|
<td style="text-align:center">1</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">10002</td>
|
||||||
|
<td style="text-align:center">名探偵金田二</td>
|
||||||
|
<td style="text-align:center">青山ふみや</td>
|
||||||
|
<td style="text-align:center">460</td>
|
||||||
|
<td style="text-align:center">1</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">20001</td>
|
||||||
|
<td style="text-align:center">坊ちゃま</td>
|
||||||
|
<td style="text-align:center">冬目漱岩</td>
|
||||||
|
<td style="text-align:center">460</td>
|
||||||
|
<td style="text-align:center">1</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">30001</td>
|
||||||
|
<td style="text-align:center">西方見聞録</td>
|
||||||
|
<td style="text-align:center">不明</td>
|
||||||
|
<td style="text-align:center">1000</td>
|
||||||
|
<td style="text-align:center">1</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">40010</td>
|
||||||
|
<td style="text-align:center">吾輩は犬である</td>
|
||||||
|
<td style="text-align:center">冬目漱岩</td>
|
||||||
|
<td style="text-align:center">420</td>
|
||||||
|
<td style="text-align:center">1</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><img src="../img/question1/図1.png" alt="図1"></p>
|
||||||
|
<h2><strong>問3 カラム指定データ抽出</strong></h2>
|
||||||
|
<p>全データの書籍名と著者名のみを表示してください</p>
|
||||||
|
<p><img src="../img/question1/図2.png" alt="図2"></p>
|
||||||
|
<h2><strong>問4 データ更新</strong></h2>
|
||||||
|
<p>書籍ID「30001」のデータの著者を「マール=コー=ポロ」に、販売有無を「0」に修正してください</p>
|
||||||
|
<p><img src="../img/question1/図3.png" alt="図3"></p>
|
||||||
|
<h2><strong>問5 条件付きデータ抽出</strong></h2>
|
||||||
|
<p>販売有無が1のレコードを表示してください</p>
|
||||||
|
<p><img src="../img/question1/図4.png" alt="図4"></p>
|
||||||
|
<h2><strong>問6 複数条件データ抽出</strong></h2>
|
||||||
|
<p>著者名が「冬目漱岩」で、価格が「420」のデータを表示してください</p>
|
||||||
|
<p><img src="../img/question1/図5.png" alt="図5"></p>
|
||||||
|
<h2><strong>問7 データ削除</strong></h2>
|
||||||
|
<p>書籍ID「20001」のデータを削除してください</p>
|
||||||
|
<p><img src="../img/question1/図6.png" alt="図6"></p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
649
【練習問題】 SQL/Question2/MySQL_Questions2.html
Normal file
@@ -0,0 +1,649 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>MySQL SQL問題集2</title>
|
||||||
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/*---------------------------------------------------------------------------------------------
|
||||||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Segoe WPC", "Segoe UI", "SFUIText-Light", "HelveticaNeue-Light", sans-serif, "Droid Sans Fallback";
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 0 12px;
|
||||||
|
line-height: 22px;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
#code-csp-warning {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
color: white;
|
||||||
|
margin: 16px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 12px;
|
||||||
|
font-family: sans-serif;
|
||||||
|
background-color:#444444;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 6px;
|
||||||
|
box-shadow: 1px 1px 1px rgba(0,0,0,.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
#code-csp-warning:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
background-color:#007acc;
|
||||||
|
box-shadow: 2px 2px 2px rgba(0,0,0,.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
body.scrollBeyondLastLine {
|
||||||
|
margin-bottom: calc(100vh - 22px);
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection .code-line {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection .code-active-line:before,
|
||||||
|
body.showEditorSelection .code-line:hover:before {
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: -12px;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection li.code-active-line:before,
|
||||||
|
body.showEditorSelection li.code-line:hover:before {
|
||||||
|
left: -30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(0, 0, 0, 0.40);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(255, 255, 255, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(255, 255, 255, 0.60);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(255, 160, 0, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(255, 160, 0, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #4080D0;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:focus,
|
||||||
|
input:focus,
|
||||||
|
select:focus,
|
||||||
|
textarea:focus {
|
||||||
|
outline: 1px solid -webkit-focus-ring-color;
|
||||||
|
outline-offset: -1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: 0;
|
||||||
|
height: 2px;
|
||||||
|
border-bottom: 2px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
padding-bottom: 0.3em;
|
||||||
|
line-height: 1.2;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3 {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 code,
|
||||||
|
h2 code,
|
||||||
|
h3 code,
|
||||||
|
h4 code,
|
||||||
|
h5 code,
|
||||||
|
h6 code {
|
||||||
|
font-size: inherit;
|
||||||
|
line-height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #4080D0;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > thead > tr > th {
|
||||||
|
text-align: left;
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > thead > tr > th,
|
||||||
|
table > thead > tr > td,
|
||||||
|
table > tbody > tr > th,
|
||||||
|
table > tbody > tr > td {
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > tbody > tr + tr > td {
|
||||||
|
border-top: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin: 0 7px 0 5px;
|
||||||
|
padding: 0 16px 0 10px;
|
||||||
|
border-left: 5px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback";
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.wordWrap pre {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mac code {
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre:not(.hljs),
|
||||||
|
pre.hljs code > div {
|
||||||
|
padding: 16px;
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Theming */
|
||||||
|
|
||||||
|
.vscode-light,
|
||||||
|
.vscode-light pre code {
|
||||||
|
color: rgb(30, 30, 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark,
|
||||||
|
.vscode-dark pre code {
|
||||||
|
color: #DDD;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast,
|
||||||
|
.vscode-high-contrast pre code {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light code {
|
||||||
|
color: #A31515;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark code {
|
||||||
|
color: #D7BA7D;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light pre:not(.hljs),
|
||||||
|
.vscode-light code > div {
|
||||||
|
background-color: rgba(220, 220, 220, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark pre:not(.hljs),
|
||||||
|
.vscode-dark code > div {
|
||||||
|
background-color: rgba(10, 10, 10, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast pre:not(.hljs),
|
||||||
|
.vscode-high-contrast code > div {
|
||||||
|
background-color: rgb(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast h1 {
|
||||||
|
border-color: rgb(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light table > thead > tr > th {
|
||||||
|
border-color: rgba(0, 0, 0, 0.69);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark table > thead > tr > th {
|
||||||
|
border-color: rgba(255, 255, 255, 0.69);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light h1,
|
||||||
|
.vscode-light hr,
|
||||||
|
.vscode-light table > tbody > tr + tr > td {
|
||||||
|
border-color: rgba(0, 0, 0, 0.18);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark h1,
|
||||||
|
.vscode-dark hr,
|
||||||
|
.vscode-dark table > tbody > tr + tr > td {
|
||||||
|
border-color: rgba(255, 255, 255, 0.18);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light blockquote,
|
||||||
|
.vscode-dark blockquote {
|
||||||
|
background: rgba(127, 127, 127, 0.1);
|
||||||
|
border-color: rgba(0, 122, 204, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast blockquote {
|
||||||
|
background: transparent;
|
||||||
|
border-color: #fff;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/* Tomorrow Theme */
|
||||||
|
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
||||||
|
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
||||||
|
|
||||||
|
/* Tomorrow Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #8e908c;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #c82829;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-link {
|
||||||
|
color: #f5871f;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Yellow */
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #eab700;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #718c00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #4271ae;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #8959a8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
color: #4d4d4c;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/*
|
||||||
|
* Markdown PDF CSS
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Meiryo", "Segoe WPC", "Segoe UI", "SFUIText-Light", "HelveticaNeue-Light", sans-serif, "Droid Sans Fallback";
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
border: 1px solid #cccccc;
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre:not(.hljs) {
|
||||||
|
padding: 23px;
|
||||||
|
line-height: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
background: rgba(127, 127, 127, 0.1);
|
||||||
|
border-color: rgba(0, 122, 204, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.emoji {
|
||||||
|
height: 1.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* for inline code */
|
||||||
|
:not(pre):not(.hljs) > code {
|
||||||
|
color: #C9AE75; /* Change the old color so it seems less like an error */
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Page Break : use <div class="page"/> to insert page break
|
||||||
|
-------------------------------------------------------- */
|
||||||
|
.page {
|
||||||
|
page-break-after: always;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>MySQL SQL問題集 part2</h1>
|
||||||
|
<p><strong>SQL応用</strong></p>
|
||||||
|
<p><a href="../Question1/MySQL_Questions1.html">MySQL SQL問題集 part1</a></p>
|
||||||
|
<h2><strong>問1 テーブル作成</strong></h2>
|
||||||
|
<p>図のようなテーブルを作成して、データを登録してください。</p>
|
||||||
|
<h3>テーブル名</h3>
|
||||||
|
<p><strong>item_category</strong></p>
|
||||||
|
<h3>カラム</h3>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">物理カラム名</th>
|
||||||
|
<th style="text-align:center">論理カラム名</th>
|
||||||
|
<th style="text-align:center">型</th>
|
||||||
|
<th style="text-align:center">主キー</th>
|
||||||
|
<th style="text-align:center">NOT NULL</th>
|
||||||
|
<th style="text-align:center">その他</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">category_id</td>
|
||||||
|
<td style="text-align:center">カテゴリID</td>
|
||||||
|
<td style="text-align:center">INT</td>
|
||||||
|
<td style="text-align:center">〇</td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center">自動採番</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">category_name</td>
|
||||||
|
<td style="text-align:center">カテゴリ名</td>
|
||||||
|
<td style="text-align:center">VARCHAR(256)</td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center">〇</td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><img src="../img/question2/図1.png" alt="図1"></p>
|
||||||
|
<h2><strong>問2 テーブル作成</strong></h2>
|
||||||
|
<p>図のようなテーブルを作成して、データを登録してください。</p>
|
||||||
|
<h3>テーブル名</h3>
|
||||||
|
<p><strong>items</strong></p>
|
||||||
|
<h3>カラム</h3>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">物理カラム名</th>
|
||||||
|
<th style="text-align:center">論理カラム名</th>
|
||||||
|
<th style="text-align:center">型</th>
|
||||||
|
<th style="text-align:center">主キー</th>
|
||||||
|
<th style="text-align:center">外部キー</th>
|
||||||
|
<th style="text-align:center">NOT NULL</th>
|
||||||
|
<th style="text-align:center">その他</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">item_id</td>
|
||||||
|
<td style="text-align:center">アイテムID</td>
|
||||||
|
<td style="text-align:center">INT</td>
|
||||||
|
<td style="text-align:center">〇</td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center">自動採番</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">name</td>
|
||||||
|
<td style="text-align:center">アイテム名</td>
|
||||||
|
<td style="text-align:center">VARCHAR(256)</td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center">〇</td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">price</td>
|
||||||
|
<td style="text-align:center">価格</td>
|
||||||
|
<td style="text-align:center">INT</td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center">〇</td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">category_id</td>
|
||||||
|
<td style="text-align:center">カテゴリID</td>
|
||||||
|
<td style="text-align:center">INT</td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center">item_categoryのcategory_id</td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
<td style="text-align:center"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><img src="../img/question2/図2.png" alt="図2"></p>
|
||||||
|
<h2><strong>問3 SELECT文作成</strong></h2>
|
||||||
|
<p>図のような検索結果になるSQLを作成してください。</p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">条件</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">itemsテーブルとitem_categoryテーブルを結合</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">category_idのカラムは一個だけしか出さないこと</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><img src="../img/question2/図3.png" alt="図3"></p>
|
||||||
|
<p>※A5SQLを使用した場合は図と同じ表示になりません。その場合、一番右側のカラム名はname_1で構いません。</p>
|
||||||
|
|
||||||
|
<h2><strong>問4 SELECT文作成</strong></h2>
|
||||||
|
<p>図のような検索結果になるSQLを作成してください。</p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">条件</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">priceを低い⇒高いに並びかえる</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><img src="../img/question2/図4.png" alt="図4"></p>
|
||||||
|
<p>※A5SQLを使用した場合は図と同じ表示になりません。その場合、一番右側のカラム名はname_1で構いません。</p>
|
||||||
|
|
||||||
|
<h2><strong>問5 SELECT文作成</strong></h2>
|
||||||
|
<p>図のような検索結果になるSQLを作成してください。</p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">条件</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">カテゴリが家具のデータのみ抽出</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><img src="../img/question2/図5.png" alt="図5"></p>
|
||||||
|
<p>※A5SQLを使用した場合は図と同じ表示になりません。その場合、一番右側のカラム名はname_1で構いません。</p>
|
||||||
|
|
||||||
|
<h2><strong>問6 SELECT文作成</strong></h2>
|
||||||
|
<p>図のような検索結果になるSQLを作成してください。</p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">条件</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">金額が1,000円から50,000円のものだけ抽出</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><img src="../img/question2/図6.png" alt="図6"></p>
|
||||||
|
<p>※A5SQLを使用した場合は図と同じ表示になりません。その場合、一番右側のカラム名はname_1で構いません。</p>
|
||||||
|
|
||||||
|
<h2><strong>問7 SELECT文作成</strong></h2>
|
||||||
|
<p>図のような検索結果になるSQLを作成してください。</p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">条件</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">itemsのレコード数を抽出</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">別名をつけて抽出</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><img src="../img/question2/図7.png" alt="図7"></p>
|
||||||
|
<h2><strong>問8 SELECT文作成</strong></h2>
|
||||||
|
<p>図のような検索結果になるSQLを作成してください。</p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">条件</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">items内の一番価格が高いレコードを抽出</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">サブクエリを使うこと</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><img src="../img/question2/図8.png" alt="図8"></p>
|
||||||
|
<p>※A5SQLを使用した場合は図と同じ表示になりません。その場合、一番右側のカラム名はname_1で構いません。</p>
|
||||||
|
|
||||||
|
<h2><strong>問9 SELECT文作成</strong></h2>
|
||||||
|
<p>図のような検索結果になるSQLを作成してください。</p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align:left">条件</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:left">nameから「の」を含むものだけ抽出</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p><img src="../img/question2/図9.png" alt="図9"></p>
|
||||||
|
<p>※A5SQLを使用した場合は図と同じ表示になりません。その場合、一番右側のカラム名はname_1で構いません。</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
214
【練習問題】 SQL/Question2/【+α】ER図/MySQL_question3.a5er
Normal file
@@ -0,0 +1,214 @@
|
|||||||
|
# A5:ER FORMAT:13
|
||||||
|
# A5:ER ENCODING:UTF8
|
||||||
|
# A5:ER Mk-1 Copyright (C)2007 m.matsubara
|
||||||
|
# A5:SQL Mk-2 Copyright (C)1997 m.matsubara
|
||||||
|
# https://a5m2.mmatsubara.com
|
||||||
|
|
||||||
|
[Manager]
|
||||||
|
ProjectName=
|
||||||
|
Author=
|
||||||
|
MaxEntityRowShow=1000
|
||||||
|
ReadOnlyRecommend=0
|
||||||
|
Page=Main
|
||||||
|
PageInfo="Main",2,"A3Landscape",$FFFFFF
|
||||||
|
LogicalView=1
|
||||||
|
DecodeDomain=0
|
||||||
|
ViewModePageIndividually=1
|
||||||
|
ViewMode=2
|
||||||
|
ViewFormat=0
|
||||||
|
UseNondependenceDashLine=0
|
||||||
|
FontName=Tahoma
|
||||||
|
FontSize=6
|
||||||
|
PaperSize=A4Landscape
|
||||||
|
HeaderLeft=
|
||||||
|
HeaderCenter=
|
||||||
|
HeaderRight=
|
||||||
|
FooterLeft=
|
||||||
|
FooterCenter=
|
||||||
|
FooterRight=
|
||||||
|
ShowPageoutRelation=1
|
||||||
|
DefaultPkName=%0:s_PKC
|
||||||
|
DefaultPkIndexName=%0:s_PKI
|
||||||
|
DefaultIndexName=%0:s_IX%1:d
|
||||||
|
DefaultFkName=%0:s_FK%1:d
|
||||||
|
SqlSeparator=0
|
||||||
|
ShowTag=1
|
||||||
|
ShowCommonAttributes=0
|
||||||
|
|
||||||
|
[Entity]
|
||||||
|
PName=item_category
|
||||||
|
LName=カテゴリテーブル
|
||||||
|
Comment=
|
||||||
|
TableOption=
|
||||||
|
Page=Main
|
||||||
|
Left=50
|
||||||
|
Top=50
|
||||||
|
Field="カテゴリID","category_id","int auto_increment","NOT NULL",0,"","",$FFFFFFFF,""
|
||||||
|
Field="カテゴリ名","name","varchar(256)","NOT NULL",,"","",$FFFFFFFF,""
|
||||||
|
Field="削除フラグ","is_del","char(1)","NOT NULL",,"\q0\q","0:未削除、1:削除済",$FFFFFFFF,""
|
||||||
|
EffectMode=None
|
||||||
|
Color=$000000
|
||||||
|
BkColor=$FFFFFF
|
||||||
|
Position="Main",50,50
|
||||||
|
ZOrder=8
|
||||||
|
|
||||||
|
[Entity]
|
||||||
|
PName=items
|
||||||
|
LName=商品テーブル
|
||||||
|
Comment=
|
||||||
|
TableOption=
|
||||||
|
Page=Main
|
||||||
|
Left=350
|
||||||
|
Top=50
|
||||||
|
Field="商品ID","item_id","int auto_increment","NOT NULL",0,"","",$FFFFFFFF,""
|
||||||
|
Field="商品名","name","varchar(255)","NOT NULL",,"","",$FFFFFFFF,""
|
||||||
|
Field="価格","price","int","NOT NULL",,"","",$FFFFFFFF,""
|
||||||
|
Field="カテゴリID","category_id","int",,,"","",$FFFFFFFF,""
|
||||||
|
Field="販売有無","is_sale","char(1)","NOT NULL",,"\q1\q","1:販売中、0:販売無",$FFFFFFFF,""
|
||||||
|
Field="削除フラグ","is_del","char(1)","NOT NULL",,"\q0\q","0:未削除、1:削除済",$FFFFFFFF,""
|
||||||
|
Index=fk_categoryid=0,category_id
|
||||||
|
EffectMode=None
|
||||||
|
Color=$000000
|
||||||
|
BkColor=$FFFFFF
|
||||||
|
Position="Main",350,50
|
||||||
|
ZOrder=7
|
||||||
|
|
||||||
|
[Entity]
|
||||||
|
PName=order_items
|
||||||
|
LName=注文商品テーブル
|
||||||
|
Comment=
|
||||||
|
TableOption=
|
||||||
|
Page=Main
|
||||||
|
Left=650
|
||||||
|
Top=50
|
||||||
|
Field="注文ID","order_id","int","NOT NULL",0,"","",$FFFFFFFF,""
|
||||||
|
Field="商品ID","item_id","int","NOT NULL",1,"","",$FFFFFFFF,""
|
||||||
|
Field="注文数","quantity","int",,,"","",$FFFFFFFF,""
|
||||||
|
Index=fk_itemid=0,item_id
|
||||||
|
EffectMode=None
|
||||||
|
Color=$000000
|
||||||
|
BkColor=$FFFFFF
|
||||||
|
Position="Main",650,50
|
||||||
|
ZOrder=6
|
||||||
|
|
||||||
|
[Entity]
|
||||||
|
PName=orders
|
||||||
|
LName=注文テーブル
|
||||||
|
Comment=
|
||||||
|
TableOption=
|
||||||
|
Page=Main
|
||||||
|
Left=950
|
||||||
|
Top=50
|
||||||
|
Field="注文ID","order_id","int auto_increment","NOT NULL",0,"","",$FFFFFFFF,""
|
||||||
|
Field="ユーザID","user_id","int","NOT NULL",,"","",$FFFFFFFF,""
|
||||||
|
Field="注文日時","order_time","datetime","NOT NULL",,"","",$FFFFFFFF,""
|
||||||
|
Field="削除フラグ","is_del","char(1)","NOT NULL",,"\q0\q","0:未削除、1:削除済",$FFFFFFFF,""
|
||||||
|
Index=fk_userid=0,user_id
|
||||||
|
EffectMode=None
|
||||||
|
Color=$000000
|
||||||
|
BkColor=$FFFFFF
|
||||||
|
Position="Main",950,50
|
||||||
|
ZOrder=5
|
||||||
|
|
||||||
|
[Entity]
|
||||||
|
PName=users
|
||||||
|
LName=ユーザテーブル
|
||||||
|
Comment=
|
||||||
|
TableOption=
|
||||||
|
Page=Main
|
||||||
|
Left=1250
|
||||||
|
Top=50
|
||||||
|
Field="ユーザID","user_id","int auto_increment","NOT NULL",0,"","",$FFFFFFFF,""
|
||||||
|
Field="ユーザ名","name","varchar(15)","NOT NULL",,"","",$FFFFFFFF,""
|
||||||
|
Field="パスワード","password","varchar(50)","NOT NULL",,"","",$FFFFFFFF,""
|
||||||
|
Field="年齢","age","int",,,"","",$FFFFFFFF,""
|
||||||
|
Field="削除フラグ","is_del","char(1)","NOT NULL",,"\q0\q","0:未削除、1:削除済",$FFFFFFFF,""
|
||||||
|
EffectMode=None
|
||||||
|
Color=$000000
|
||||||
|
BkColor=$FFFFFF
|
||||||
|
Position="Main",1250,50
|
||||||
|
ZOrder=4
|
||||||
|
|
||||||
|
[Relation]
|
||||||
|
Entity1=items
|
||||||
|
Entity2=order_items
|
||||||
|
RelationType1=1
|
||||||
|
RelationType2=3
|
||||||
|
Fields1=item_id
|
||||||
|
Fields2=item_id
|
||||||
|
Cardinarity1=
|
||||||
|
Cardinarity2=
|
||||||
|
Position="MAIN",0,500,9500,500,R,R
|
||||||
|
Dependence=1
|
||||||
|
Caption=
|
||||||
|
PName=
|
||||||
|
LineMode=0
|
||||||
|
Bar1=50
|
||||||
|
Bar2=950
|
||||||
|
Bar3=50
|
||||||
|
TermPos1=R
|
||||||
|
TermPos2=R
|
||||||
|
ZOrder=1
|
||||||
|
|
||||||
|
[Relation]
|
||||||
|
Entity1=users
|
||||||
|
Entity2=orders
|
||||||
|
RelationType1=1
|
||||||
|
RelationType2=3
|
||||||
|
Fields1=user_id
|
||||||
|
Fields2=user_id
|
||||||
|
Cardinarity1=
|
||||||
|
Cardinarity2=
|
||||||
|
Position="MAIN",0,500,9500,625,R,R
|
||||||
|
Dependence=0
|
||||||
|
Caption=
|
||||||
|
PName=
|
||||||
|
LineMode=0
|
||||||
|
Bar1=50
|
||||||
|
Bar2=950
|
||||||
|
Bar3=62
|
||||||
|
TermPos1=R
|
||||||
|
TermPos2=R
|
||||||
|
ZOrder=0
|
||||||
|
|
||||||
|
[Relation]
|
||||||
|
Entity1=item_category
|
||||||
|
Entity2=items
|
||||||
|
RelationType1=1
|
||||||
|
RelationType2=3
|
||||||
|
Fields1=category_id
|
||||||
|
Fields2=category_id
|
||||||
|
Cardinarity1=
|
||||||
|
Cardinarity2=
|
||||||
|
Position="MAIN",0,500,9500,500,R,R
|
||||||
|
Dependence=0
|
||||||
|
Caption=
|
||||||
|
PName=
|
||||||
|
LineMode=0
|
||||||
|
Bar1=50
|
||||||
|
Bar2=950
|
||||||
|
Bar3=50
|
||||||
|
TermPos1=R
|
||||||
|
TermPos2=R
|
||||||
|
ZOrder=3
|
||||||
|
|
||||||
|
[Relation]
|
||||||
|
Entity1=orders
|
||||||
|
Entity2=order_items
|
||||||
|
RelationType1=1
|
||||||
|
RelationType2=3
|
||||||
|
Fields1=order_id
|
||||||
|
Fields2=order_id
|
||||||
|
Cardinarity1=
|
||||||
|
Cardinarity2=
|
||||||
|
Position="MAIN",0,500,9500,667,R,R
|
||||||
|
Dependence=1
|
||||||
|
Caption=
|
||||||
|
PName=
|
||||||
|
LineMode=0
|
||||||
|
Bar1=50
|
||||||
|
Bar2=950
|
||||||
|
Bar3=67
|
||||||
|
TermPos1=R
|
||||||
|
TermPos2=R
|
||||||
|
ZOrder=2
|
||||||
428
【練習問題】 SQL/Question2/【+α】MySQL_Questions2.html
Normal file
@@ -0,0 +1,428 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>【+α】MySQL_Questions2.md</title>
|
||||||
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/*---------------------------------------------------------------------------------------------
|
||||||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Segoe WPC", "Segoe UI", "SFUIText-Light", "HelveticaNeue-Light", sans-serif, "Droid Sans Fallback";
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 0 12px;
|
||||||
|
line-height: 22px;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
#code-csp-warning {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
color: white;
|
||||||
|
margin: 16px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 12px;
|
||||||
|
font-family: sans-serif;
|
||||||
|
background-color:#444444;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 6px;
|
||||||
|
box-shadow: 1px 1px 1px rgba(0,0,0,.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
#code-csp-warning:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
background-color:#007acc;
|
||||||
|
box-shadow: 2px 2px 2px rgba(0,0,0,.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
body.scrollBeyondLastLine {
|
||||||
|
margin-bottom: calc(100vh - 22px);
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection .code-line {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection .code-active-line:before,
|
||||||
|
body.showEditorSelection .code-line:hover:before {
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: -12px;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection li.code-active-line:before,
|
||||||
|
body.showEditorSelection li.code-line:hover:before {
|
||||||
|
left: -30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(0, 0, 0, 0.40);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(255, 255, 255, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(255, 255, 255, 0.60);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(255, 160, 0, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(255, 160, 0, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 60%;
|
||||||
|
max-height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #4080D0;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:focus,
|
||||||
|
input:focus,
|
||||||
|
select:focus,
|
||||||
|
textarea:focus {
|
||||||
|
outline: 1px solid -webkit-focus-ring-color;
|
||||||
|
outline-offset: -1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: 0;
|
||||||
|
height: 2px;
|
||||||
|
border-bottom: 2px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
padding-bottom: 0.3em;
|
||||||
|
line-height: 1.2;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3 {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 code,
|
||||||
|
h2 code,
|
||||||
|
h3 code,
|
||||||
|
h4 code,
|
||||||
|
h5 code,
|
||||||
|
h6 code {
|
||||||
|
font-size: inherit;
|
||||||
|
line-height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #4080D0;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > thead > tr > th {
|
||||||
|
text-align: left;
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > thead > tr > th,
|
||||||
|
table > thead > tr > td,
|
||||||
|
table > tbody > tr > th,
|
||||||
|
table > tbody > tr > td {
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > tbody > tr + tr > td {
|
||||||
|
border-top: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin: 0 7px 0 5px;
|
||||||
|
padding: 0 16px 0 10px;
|
||||||
|
border-left: 5px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback";
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.wordWrap pre {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mac code {
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre:not(.hljs),
|
||||||
|
pre.hljs code > div {
|
||||||
|
padding: 16px;
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Theming */
|
||||||
|
|
||||||
|
.vscode-light,
|
||||||
|
.vscode-light pre code {
|
||||||
|
color: rgb(30, 30, 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark,
|
||||||
|
.vscode-dark pre code {
|
||||||
|
color: #DDD;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast,
|
||||||
|
.vscode-high-contrast pre code {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light code {
|
||||||
|
color: #A31515;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark code {
|
||||||
|
color: #D7BA7D;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light pre:not(.hljs),
|
||||||
|
.vscode-light code > div {
|
||||||
|
background-color: rgba(220, 220, 220, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark pre:not(.hljs),
|
||||||
|
.vscode-dark code > div {
|
||||||
|
background-color: rgba(10, 10, 10, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast pre:not(.hljs),
|
||||||
|
.vscode-high-contrast code > div {
|
||||||
|
background-color: rgb(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast h1 {
|
||||||
|
border-color: rgb(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light table > thead > tr > th {
|
||||||
|
border-color: rgba(0, 0, 0, 0.69);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark table > thead > tr > th {
|
||||||
|
border-color: rgba(255, 255, 255, 0.69);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light h1,
|
||||||
|
.vscode-light hr,
|
||||||
|
.vscode-light table > tbody > tr + tr > td {
|
||||||
|
border-color: rgba(0, 0, 0, 0.18);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark h1,
|
||||||
|
.vscode-dark hr,
|
||||||
|
.vscode-dark table > tbody > tr + tr > td {
|
||||||
|
border-color: rgba(255, 255, 255, 0.18);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light blockquote,
|
||||||
|
.vscode-dark blockquote {
|
||||||
|
background: rgba(127, 127, 127, 0.1);
|
||||||
|
border-color: rgba(0, 122, 204, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast blockquote {
|
||||||
|
background: transparent;
|
||||||
|
border-color: #fff;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/* Tomorrow Theme */
|
||||||
|
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
||||||
|
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
||||||
|
|
||||||
|
/* Tomorrow Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #8e908c;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #c82829;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-link {
|
||||||
|
color: #f5871f;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Yellow */
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #eab700;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #718c00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #4271ae;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #8959a8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
color: #4d4d4c;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/*
|
||||||
|
* Markdown PDF CSS
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Meiryo", "Segoe WPC", "Segoe UI", "SFUIText-Light", "HelveticaNeue-Light", sans-serif, "Droid Sans Fallback";
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
border: 1px solid #cccccc;
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre:not(.hljs) {
|
||||||
|
padding: 23px;
|
||||||
|
line-height: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
background: rgba(127, 127, 127, 0.1);
|
||||||
|
border-color: rgba(0, 122, 204, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.emoji {
|
||||||
|
height: 1.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* for inline code */
|
||||||
|
:not(pre):not(.hljs) > code {
|
||||||
|
color: #C9AE75; /* Change the old color so it seems less like an error */
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Page Break : use <div class="page"/> to insert page break
|
||||||
|
-------------------------------------------------------- */
|
||||||
|
.page {
|
||||||
|
page-break-after: always;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>MySQL SQL問題集 part2+α</h1>
|
||||||
|
<p><strong>前提条件</strong>
|
||||||
|
SQLフォルダにあるSQLファイルの内容をすべて実行していること</p>
|
||||||
|
<h2><strong>問1 SELECT文作成</strong></h2>
|
||||||
|
<p>商品一覧を表示</p>
|
||||||
|
<p><img src="../img/question2/+α/図1.png" alt="図1"></p>
|
||||||
|
<h2><strong>問2 SELECT文作成</strong></h2>
|
||||||
|
<p>注文一覧を表示</p>
|
||||||
|
<p><img src="../img/question2/+α/図2.png" alt="図2"></p>
|
||||||
|
<h2><strong>問3 SELECT文作成</strong></h2>
|
||||||
|
<p>各注文毎の合計額を表示</p>
|
||||||
|
<p><img src="../img/question2/+α/図3.png" alt="図3"></p>
|
||||||
|
<h2><strong>問4 SELECT文作成</strong></h2>
|
||||||
|
<p>月別注文数を表示</p>
|
||||||
|
<p><img src="../img/question2/+α/図4.png" alt="図4"></p>
|
||||||
|
<h2><strong>問5 SELECT文作成</strong></h2>
|
||||||
|
<p>年別注文数を表示</p>
|
||||||
|
<p><img src="../img/question2/+α/図5.png" alt="図5"></p>
|
||||||
|
<h2><strong>問6 SELECT文作成</strong></h2>
|
||||||
|
<p>全体の売上を表示</p>
|
||||||
|
<p><img src="../img/question2/+α/図6.png" alt="図8"></p>
|
||||||
|
<h2><strong>問7 SELECT文作成</strong></h2>
|
||||||
|
<p>カテゴリ別売上額を表示</p>
|
||||||
|
<p><img src="../img/question2/+α/図7.png" alt="図7"></p>
|
||||||
|
<h2><strong>問8 SELECT文作成</strong></h2>
|
||||||
|
<p>商品別売上額を表示</p>
|
||||||
|
<p><img src="../img/question2/+α/図8.png" alt="図6"></p>
|
||||||
|
<h2><strong>問9 SELECT文作成</strong></h2>
|
||||||
|
<p>各カテゴリの構成比を表示</p>
|
||||||
|
<pre class="hljs"><code><div>※構成比
|
||||||
|
ある項目が全体に対してどれぐらい占めているかの割合です。
|
||||||
|
|
||||||
|
計算式:カテゴリー合計額 ÷ 全体の売上高
|
||||||
|
</div></code></pre>
|
||||||
|
<p><img src="../img/question2/+α/図9.png" alt="図9"></p>
|
||||||
|
<h2><strong>問10 SELECT文作成</strong></h2>
|
||||||
|
<p>各商品別の構成比を表示</p>
|
||||||
|
<p><img src="../img/question2/+α/図10.png" alt="図10"></p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
114
【練習問題】 SQL/Question2/【+α】SQL/MySQL_question2.sql
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
DROP TABLE IF EXISTS order_items;
|
||||||
|
DROP TABLE IF EXISTS orders;
|
||||||
|
DROP TABLE IF EXISTS items;
|
||||||
|
DROP TABLE IF EXISTS item_category;
|
||||||
|
DROP TABLE IF EXISTS users;
|
||||||
|
|
||||||
|
CREATE TABLE users(
|
||||||
|
user_id INT PRIMARY KEY AUTO_INCREMENT COMMENT 'ユーザID'
|
||||||
|
, name VARCHAR (15) NOT NULL COMMENT 'ユーザ名'
|
||||||
|
, password VARCHAR (50) NOT NULL COMMENT 'パスワード'
|
||||||
|
, age INT COMMENT '年齢'
|
||||||
|
, is_del CHAR (1) NOT NULL DEFAULT '0' COMMENT '削除フラグ:0:未削除、1:削除済'
|
||||||
|
)
|
||||||
|
default charset=utf8
|
||||||
|
COMMENT 'ユーザテーブル';
|
||||||
|
|
||||||
|
CREATE TABLE item_category(
|
||||||
|
category_id INT AUTO_INCREMENT PRIMARY KEY COMMENT 'カテゴリID'
|
||||||
|
, name VARCHAR (256) NOT NULL COMMENT 'カテゴリ名'
|
||||||
|
, is_del CHAR (1) NOT NULL DEFAULT '0' COMMENT '削除フラグ:0:未削除、1:削除済'
|
||||||
|
)
|
||||||
|
default charset=utf8
|
||||||
|
COMMENT 'カテゴリテーブル';
|
||||||
|
|
||||||
|
CREATE TABLE items(
|
||||||
|
item_id INT PRIMARY KEY AUTO_INCREMENT COMMENT '商品ID'
|
||||||
|
, name VARCHAR (255) NOT NULL COMMENT '商品名'
|
||||||
|
, price INT NOT NULL COMMENT '価格'
|
||||||
|
, category_id INT COMMENT 'カテゴリID'
|
||||||
|
, is_sale CHAR (1) NOT NULL DEFAULT '1' COMMENT '販売有無:1:販売中、0:販売無'
|
||||||
|
, is_del CHAR (1) NOT NULL DEFAULT '0' COMMENT '削除フラグ:0:未削除、1:削除済'
|
||||||
|
, FOREIGN KEY fk_categoryid(category_id) REFERENCES item_category(category_id)
|
||||||
|
)
|
||||||
|
default charset=utf8
|
||||||
|
COMMENT '商品テーブル';
|
||||||
|
|
||||||
|
CREATE TABLE orders(
|
||||||
|
order_id INT PRIMARY KEY AUTO_INCREMENT COMMENT '注文ID'
|
||||||
|
, user_id INT NOT NULL COMMENT 'ユーザID'
|
||||||
|
, order_time DATETIME NOT NULL COMMENT '注文日時'
|
||||||
|
, is_del CHAR (1) NOT NULL DEFAULT '0' COMMENT '削除フラグ:0:未削除、1:削除済'
|
||||||
|
, FOREIGN KEY fk_userid(user_id) REFERENCES users(user_id)
|
||||||
|
)
|
||||||
|
default charset=utf8
|
||||||
|
COMMENT '注文テーブル';
|
||||||
|
|
||||||
|
CREATE TABLE order_items(
|
||||||
|
order_id INT COMMENT '注文ID'
|
||||||
|
, item_id INT COMMENT '商品ID'
|
||||||
|
, quantity INT COMMENT '注文数'
|
||||||
|
, PRIMARY KEY (order_id, item_id)
|
||||||
|
, FOREIGN KEY fk_orderid(order_id) REFERENCES orders(order_id)
|
||||||
|
, FOREIGN KEY fk_itemid(item_id) REFERENCES items(item_id)
|
||||||
|
)
|
||||||
|
default charset=utf8
|
||||||
|
COMMENT '注文商品テーブル';
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO users (name, password, age) VALUES ('三浦知一','KfCQDjiZ', 53);
|
||||||
|
INSERT INTO users (name, password, age) VALUES ('遠藤保','V3mngzMP', 40);
|
||||||
|
INSERT INTO users (name, password, age) VALUES ('柴崎学','XktKCvCx', 27);
|
||||||
|
INSERT INTO users (name, password, age) VALUES ('本田啓介','bSCebKnP', 33);
|
||||||
|
INSERT INTO users (name, password, age) VALUES ('花川真司','xKetmAcH', 30);
|
||||||
|
|
||||||
|
INSERT INTO item_category (name) VALUES ('家具');
|
||||||
|
INSERT INTO item_category (name) VALUES ('飲料');
|
||||||
|
INSERT INTO item_category (name) VALUES ('食品');
|
||||||
|
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('ローマのテーブル', 150000, 1);
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('げーたるーど2000 500ml', 370, 2);
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('原始肉', 2500, 3);
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('魅惑の椅子', 100000, 1);
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('十八茶 600ml', 110, 1);
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('いい匂いのするドリアン', 5000, 3);
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('太平洋の水 550ml', 300, 2);
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('ひたすら膨らむガム', 200, 3);
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('人をだめにするソファー', 10000, 1);
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('人を虜にする名酒', 20000, 2);
|
||||||
|
INSERT INTO items (name, price, category_id) VALUES ('新鮮キャベツ', 1000, 3);
|
||||||
|
|
||||||
|
INSERT INTO orders (user_id, order_time) VALUES (1, '2015-02-22 12:00:00');
|
||||||
|
INSERT INTO orders (user_id, order_time) VALUES (4, '2015-12-01 15:30:00');
|
||||||
|
INSERT INTO orders (user_id, order_time) VALUES (3, '2018-03-20 18:45:00');
|
||||||
|
INSERT INTO orders (user_id, order_time) VALUES (2, '2018-05-11 11:28:00');
|
||||||
|
INSERT INTO orders (user_id, order_time) VALUES (5, '2018-09-30 10:50:00');
|
||||||
|
INSERT INTO orders (user_id, order_time) VALUES (1, '2018-09-12 20:13:00');
|
||||||
|
INSERT INTO orders (user_id, order_time) VALUES (4, '2018-09-15 21:34:00');
|
||||||
|
INSERT INTO orders (user_id, order_time) VALUES (1, '2019-05-06 16:00:00');
|
||||||
|
INSERT INTO orders (user_id, order_time) VALUES (3, '2019-12-20 10:39:00');
|
||||||
|
INSERT INTO orders (user_id, order_time) VALUES (2, '2020-01-01 14:11:00');
|
||||||
|
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (1, 2, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (1, 6, 10);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (1, 7, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (1, 11, 10);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (2, 4, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (3, 9, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (4, 7, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (4, 8, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (5, 2, 7);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (5, 3, 5);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (5, 10, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (5, 11, 5);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (5, 5, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (5, 7, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (6, 8, 10);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (7, 4, 2);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (8, 1, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (8, 9, 1);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (9, 3, 4);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (9, 5, 2);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (9, 8, 10);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (10, 1, 2);
|
||||||
|
INSERT INTO order_items (order_id, item_id, quantity) VALUES (10, 10, 2);
|
||||||
463
【練習問題】 SQL/Question3/MySQL_Questions3.html
Normal file
@@ -0,0 +1,463 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>MySQL_Questions3.md</title>
|
||||||
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/*---------------------------------------------------------------------------------------------
|
||||||
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Segoe WPC", "Segoe UI", "SFUIText-Light", "HelveticaNeue-Light", sans-serif, "Droid Sans Fallback";
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 0 12px;
|
||||||
|
line-height: 22px;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
#code-csp-warning {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
color: white;
|
||||||
|
margin: 16px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 12px;
|
||||||
|
font-family: sans-serif;
|
||||||
|
background-color:#444444;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 6px;
|
||||||
|
box-shadow: 1px 1px 1px rgba(0,0,0,.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
#code-csp-warning:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
background-color:#007acc;
|
||||||
|
box-shadow: 2px 2px 2px rgba(0,0,0,.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
body.scrollBeyondLastLine {
|
||||||
|
margin-bottom: calc(100vh - 22px);
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection .code-line {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection .code-active-line:before,
|
||||||
|
body.showEditorSelection .code-line:hover:before {
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: -12px;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.showEditorSelection li.code-active-line:before,
|
||||||
|
body.showEditorSelection li.code-line:hover:before {
|
||||||
|
left: -30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(0, 0, 0, 0.40);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(255, 255, 255, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(255, 255, 255, 0.60);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast.showEditorSelection .code-active-line:before {
|
||||||
|
border-left: 3px solid rgba(255, 160, 0, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast.showEditorSelection .code-line:hover:before {
|
||||||
|
border-left: 3px solid rgba(255, 160, 0, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #4080D0;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:focus,
|
||||||
|
input:focus,
|
||||||
|
select:focus,
|
||||||
|
textarea:focus {
|
||||||
|
outline: 1px solid -webkit-focus-ring-color;
|
||||||
|
outline-offset: -1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: 0;
|
||||||
|
height: 2px;
|
||||||
|
border-bottom: 2px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
padding-bottom: 0.3em;
|
||||||
|
line-height: 1.2;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3 {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 code,
|
||||||
|
h2 code,
|
||||||
|
h3 code,
|
||||||
|
h4 code,
|
||||||
|
h5 code,
|
||||||
|
h6 code {
|
||||||
|
font-size: inherit;
|
||||||
|
line-height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #4080D0;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > thead > tr > th {
|
||||||
|
text-align: left;
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > thead > tr > th,
|
||||||
|
table > thead > tr > td,
|
||||||
|
table > tbody > tr > th,
|
||||||
|
table > tbody > tr > td {
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table > tbody > tr + tr > td {
|
||||||
|
border-top: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin: 0 7px 0 5px;
|
||||||
|
padding: 0 16px 0 10px;
|
||||||
|
border-left: 5px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback";
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.wordWrap pre {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mac code {
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre:not(.hljs),
|
||||||
|
pre.hljs code > div {
|
||||||
|
padding: 16px;
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Theming */
|
||||||
|
|
||||||
|
.vscode-light,
|
||||||
|
.vscode-light pre code {
|
||||||
|
color: rgb(30, 30, 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark,
|
||||||
|
.vscode-dark pre code {
|
||||||
|
color: #DDD;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast,
|
||||||
|
.vscode-high-contrast pre code {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light code {
|
||||||
|
color: #A31515;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark code {
|
||||||
|
color: #D7BA7D;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light pre:not(.hljs),
|
||||||
|
.vscode-light code > div {
|
||||||
|
background-color: rgba(220, 220, 220, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark pre:not(.hljs),
|
||||||
|
.vscode-dark code > div {
|
||||||
|
background-color: rgba(10, 10, 10, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast pre:not(.hljs),
|
||||||
|
.vscode-high-contrast code > div {
|
||||||
|
background-color: rgb(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast h1 {
|
||||||
|
border-color: rgb(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light table > thead > tr > th {
|
||||||
|
border-color: rgba(0, 0, 0, 0.69);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark table > thead > tr > th {
|
||||||
|
border-color: rgba(255, 255, 255, 0.69);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light h1,
|
||||||
|
.vscode-light hr,
|
||||||
|
.vscode-light table > tbody > tr + tr > td {
|
||||||
|
border-color: rgba(0, 0, 0, 0.18);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-dark h1,
|
||||||
|
.vscode-dark hr,
|
||||||
|
.vscode-dark table > tbody > tr + tr > td {
|
||||||
|
border-color: rgba(255, 255, 255, 0.18);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-light blockquote,
|
||||||
|
.vscode-dark blockquote {
|
||||||
|
background: rgba(127, 127, 127, 0.1);
|
||||||
|
border-color: rgba(0, 122, 204, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vscode-high-contrast blockquote {
|
||||||
|
background: transparent;
|
||||||
|
border-color: #fff;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/* Tomorrow Theme */
|
||||||
|
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
||||||
|
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
||||||
|
|
||||||
|
/* Tomorrow Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #8e908c;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #c82829;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-link {
|
||||||
|
color: #f5871f;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Yellow */
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #eab700;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #718c00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #4271ae;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tomorrow Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #8959a8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
color: #4d4d4c;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/*
|
||||||
|
* Markdown PDF CSS
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Meiryo", "Segoe WPC", "Segoe UI", "SFUIText-Light", "HelveticaNeue-Light", sans-serif, "Droid Sans Fallback";
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
border: 1px solid #cccccc;
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre:not(.hljs) {
|
||||||
|
padding: 23px;
|
||||||
|
line-height: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
background: rgba(127, 127, 127, 0.1);
|
||||||
|
border-color: rgba(0, 122, 204, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.emoji {
|
||||||
|
height: 1.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* for inline code */
|
||||||
|
:not(pre):not(.hljs) > code {
|
||||||
|
color: #C9AE75; /* Change the old color so it seems less like an error */
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Page Break : use <div class="page"/> to insert page break
|
||||||
|
-------------------------------------------------------- */
|
||||||
|
.page {
|
||||||
|
page-break-after: always;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>MySQL SQL問題集 part3</h1>
|
||||||
|
<h2><strong>前提条件</strong></h2>
|
||||||
|
<h2><strong>問1 テーブル作成</strong></h2>
|
||||||
|
<p>データ定義に沿って、テーブル及びレコードを作成してください。</p>
|
||||||
|
<ol>
|
||||||
|
<li>データ型に関しては、入力されているデータを元に推測して選定してください</li>
|
||||||
|
<li>主キーは必ず全てのテーブルに設定してください
|
||||||
|
※どの項目を主キーとするかは考えて設定してみてください</li>
|
||||||
|
<li>主キー以外の制約に関しては問いません</li>
|
||||||
|
</ol>
|
||||||
|
<h2><strong>問2 データ抽出</strong></h2>
|
||||||
|
<p>1で作成したテーブルデータを元に以下のSQLを組み立てましょう。
|
||||||
|
基本的に各設問毎に1回のSQLで実現可能な形となっています。
|
||||||
|
なるべく少ない回数の問い合わせで済むようにしてみてください。</p>
|
||||||
|
<h3>2.1. 以下のデータを取得するSQLを作成しなさい。</h3>
|
||||||
|
<ol>
|
||||||
|
<li>
|
||||||
|
<p>商品一覧と各在庫数を取得するSQL</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>顧客情報とクレジットカード情報を表示するSQL
|
||||||
|
※ クレジットカードを登録していない顧客は、クレジット情報をNULLで表示させる
|
||||||
|
※ ホームページなどで表示できるよう、性別などのコード値は各種マスタから名称を取得するように</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>入庫予定の商品一覧と予定日、入庫先倉庫を表示するSQL
|
||||||
|
※入庫予定は、入庫TBLの完了日が入っていないものを指す</p>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
<h3>2.2. 顧客ID:CU00000002(高橋)から受注の以下のような注文が入った</h3>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<p>商品ID・ITM0000002を100個、ITM0000005を90個</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>銀行振り込みで受注日は2014/12/4
|
||||||
|
※ このシステムでは、以下のような仕様でデータを登録することになっている</p>
|
||||||
|
<ul>
|
||||||
|
<li>出荷予定日は各商品の入庫が完了次第出荷</li>
|
||||||
|
<li>到着日は未定の為、null
|
||||||
|
<ul>
|
||||||
|
<li>ステータスは受注完了</li>
|
||||||
|
<li>金額、消費税は現マスタ情報を参照して割り出すこと</li>
|
||||||
|
<li>配送料は一律で \1,836</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p>この場合、下記のような仕様で登録する必要があるが、それぞれどんなSQLが必要になるか。SQLを作成しなさい</p>
|
||||||
|
<ol>
|
||||||
|
<li>
|
||||||
|
<p>シーケンスでオーダーNOを採番</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>注文情報テーブルに基本情報のみ登録する。他の項目はNULL</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>商品の注文数と注文時の価格を登録</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>受注日で税率をチェックし、総額から消費税を計算、更新</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>注文数と商品の在庫を判定</p>
|
||||||
|
<ol>
|
||||||
|
<li>在庫があれば、在庫を引当た後に発注手続きへ</li>
|
||||||
|
<li>在庫が無ければ、ステータスを入荷待にして入庫予定をチェックし、入庫数と在庫数を合わせて注文数に足りているか判定
|
||||||
|
a.入庫数+在庫数が注文数に足りていれば入庫された日を出荷予定日に
|
||||||
|
b.入庫数+在庫数が注文数に足りて居なければnullのまま</li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
13
【練習問題】 SQL/Question3/データ定義.files/filelist.xml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<xml xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||||
|
<o:MainFile HRef="../データ定義.htm"/>
|
||||||
|
<o:File HRef="stylesheet.css"/>
|
||||||
|
<o:File HRef="tabstrip.htm"/>
|
||||||
|
<o:File HRef="sheet001.htm"/>
|
||||||
|
<o:File HRef="sheet002.htm"/>
|
||||||
|
<o:File HRef="sheet003.htm"/>
|
||||||
|
<o:File HRef="sheet004.htm"/>
|
||||||
|
<o:File HRef="sheet005.htm"/>
|
||||||
|
<o:File HRef="sheet006.htm"/>
|
||||||
|
<o:File HRef="sheet007.htm"/>
|
||||||
|
<o:File HRef="filelist.xml"/>
|
||||||
|
</xml>
|
||||||
358
【練習問題】 SQL/Question3/データ定義.files/sheet001.htm
Normal file
@@ -0,0 +1,358 @@
|
|||||||
|
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
||||||
|
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||||
|
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||||
|
xmlns="http://www.w3.org/TR/REC-html40">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv=Content-Type content="text/html; charset=shift_jis">
|
||||||
|
<meta name=ProgId content=Excel.Sheet>
|
||||||
|
<meta name=Generator content="Microsoft Excel 15">
|
||||||
|
<link id=Main-File rel=Main-File href="../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm">
|
||||||
|
<link rel=File-List href=filelist.xml>
|
||||||
|
<link rel=Stylesheet href=stylesheet.css>
|
||||||
|
<style>
|
||||||
|
<!--table
|
||||||
|
{mso-displayed-decimal-separator:"\.";
|
||||||
|
mso-displayed-thousand-separator:"\,";}
|
||||||
|
@page
|
||||||
|
{margin:.75in .25in .75in .25in;
|
||||||
|
mso-header-margin:.3in;
|
||||||
|
mso-footer-margin:.3in;
|
||||||
|
mso-page-orientation:landscape;}
|
||||||
|
ruby
|
||||||
|
{ruby-align:left;}
|
||||||
|
rt
|
||||||
|
{color:windowtext;
|
||||||
|
font-size:6.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;
|
||||||
|
mso-char-type:katakana;
|
||||||
|
display:none;}
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
<![if !supportTabStrip]><script language="JavaScript">
|
||||||
|
<!--
|
||||||
|
function fnUpdateTabs()
|
||||||
|
{
|
||||||
|
if (parent.window.g_iIEVer>=4) {
|
||||||
|
if (parent.document.readyState=="complete"
|
||||||
|
&& parent.frames['frTabs'].document.readyState=="complete")
|
||||||
|
parent.fnSetActiveSheet(0);
|
||||||
|
else
|
||||||
|
window.setTimeout("fnUpdateTabs();",150);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (window.name!="frSheet")
|
||||||
|
window.location.replace("../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm");
|
||||||
|
else
|
||||||
|
fnUpdateTabs();
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<![endif]>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body link="#0563C1" vlink="#954F72" class=xl67>
|
||||||
|
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width=284 style='border-collapse:
|
||||||
|
collapse;table-layout:fixed;width:213pt'>
|
||||||
|
<col class=xl66 width=21 style='mso-width-source:userset;mso-width-alt:672;
|
||||||
|
width:16pt'>
|
||||||
|
<col class=xl67 width=104 style='mso-width-source:userset;mso-width-alt:3328;
|
||||||
|
width:78pt'>
|
||||||
|
<col class=xl67 width=159 style='mso-width-source:userset;mso-width-alt:5088;
|
||||||
|
width:119pt'>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 width=125 style='height:12.0pt;mso-ignore:
|
||||||
|
colspan;width:94pt'><ruby><EFBFBD>x<EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>V<EFBFBD>n<EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>x<EFBFBD>c</rt></span></ruby><EFBFBD>}<7D>X<EFBFBD>^<5E>[</td>
|
||||||
|
<td class=xl67 width=159 style='width:119pt'>pay_div_m</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl83><ruby><EFBFBD>x<EFBFBD><EFBFBD><span style='display:none'><rt class=font5><EFBFBD>V<EFBFBD>n<EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt class=font5><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><EFBFBD>R<EFBFBD>[<5B>h</td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD>x<EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>V<EFBFBD>n<EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>pay_div_cd</td>
|
||||||
|
<td class=xl85 style='border-left:none'>pay_div_nm</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl84>PY001</td>
|
||||||
|
<td class=xl84 style='border-left:none'><EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>b<EFBFBD>g<EFBFBD>J<EFBFBD>[<5B>h</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>PY002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>s<span
|
||||||
|
style='display:none'><rt><EFBFBD>M<EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>E</rt></span></ruby><ruby><EFBFBD>U<span
|
||||||
|
style='display:none'><rt><EFBFBD>t</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:
|
||||||
|
none'><rt><EFBFBD>R</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>PY003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>R<EFBFBD><EFBFBD><EFBFBD>r<EFBFBD>j<ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>P<EFBFBD>b<EFBFBD>T<EFBFBD>C</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70 style='border-top:none'>PY004</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>_<EFBFBD>C<EFBFBD>r</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 style='height:12.0pt;mso-ignore:colspan'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>Z<EFBFBD>C<EFBFBD>x<EFBFBD>c</rt></span></ruby><EFBFBD>}<7D>X<EFBFBD>^</td>
|
||||||
|
<td class=xl67>gender_m</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt class=font5><EFBFBD>Z<EFBFBD>C<EFBFBD>x<EFBFBD>c</rt></span></ruby><EFBFBD>R<EFBFBD>[<5B>h</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>Z<EFBFBD>C<EFBFBD>x<EFBFBD>c</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>gender_cd</td>
|
||||||
|
<td class=xl85 style='border-left:none'>gender_div_nm</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69>J0</td>
|
||||||
|
<td class=xl69 style='border-left:none'><ruby><EFBFBD>j<EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>_<EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD>C</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71 style='border-top:none'>J1</td>
|
||||||
|
<td class=xl71 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD>C</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70>J9</td>
|
||||||
|
<td class=xl70 style='border-left:none'><EFBFBD><EFBFBD><EFBFBD><EFBFBD><ruby><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>^</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 style='height:12.0pt;mso-ignore:colspan'><EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>b<EFBFBD>g<EFBFBD>J<EFBFBD>[<5B>h<ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl67>credit_div_m</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><EFBFBD>J<EFBFBD>[<5B>h<ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt class=font5><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><EFBFBD>R<EFBFBD>[<5B>h</td>
|
||||||
|
<td class=xl68 style='border-left:none'><EFBFBD>J<EFBFBD>[<5B>h<ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>credit_div_cd</td>
|
||||||
|
<td class=xl85 style='border-left:none'>credit_div_nm</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69>CD001</td>
|
||||||
|
<td class=xl69 style='border-left:none'>VISA</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CD002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>JCB</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CD003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>Master</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70 style='border-top:none'>CD004</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>AMERICAN EXPRESS</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 style='height:12.0pt;mso-ignore:colspan'><ruby><EFBFBD><EFBFBD><EFBFBD>i<span
|
||||||
|
style='display:none'><rt><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><EFBFBD>}<7D>X<EFBFBD>^</td>
|
||||||
|
<td class=xl67>goods_div_m</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD><EFBFBD><EFBFBD>i<span style='display:none'><rt class=font5><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt class=font5><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><EFBFBD>R<EFBFBD>[<5B>h</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>i<span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68>goods_div_cd<ruby><font class="font5"><rt class=font5></rt></font></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'>goods_div_nm<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>K0001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>p<EFBFBD>i<span
|
||||||
|
style='display:none'><rt><EFBFBD>j<EFBFBD>`<60><><EFBFBD>E<EFBFBD>q<EFBFBD><71></rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>K0002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>p<EFBFBD>\<5C>R<EFBFBD><52><EFBFBD>E<EFBFBD>I<EFBFBD>t<EFBFBD>B<EFBFBD>X<ruby><EFBFBD>p<EFBFBD>i<span
|
||||||
|
style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>K0003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>X<EFBFBD>|<7C>[<5B>c<EFBFBD><63><EFBFBD>A<EFBFBD>E<EFBFBD>g<EFBFBD>h<EFBFBD>A</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>K0004</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>J<EFBFBD>[<ruby><EFBFBD>p<EFBFBD>i<span
|
||||||
|
style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>K0005</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD>H<EFBFBD><EFBFBD><EFBFBD>i<span
|
||||||
|
style='display:none'><rt><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>N<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>K0006</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD>Ɠd<span
|
||||||
|
style='display:none'><rt><EFBFBD>J<EFBFBD>f<EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>K0007</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>t<EFBFBD>@<40>b<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70 style='border-top:none'>K0008</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>y<span
|
||||||
|
style='display:none'><rt><EFBFBD>S<EFBFBD><EFBFBD><EFBFBD>N</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 style='height:12.0pt;mso-ignore:colspan'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD>[<5B>C</rt></span></ruby><EFBFBD>}<7D>X<EFBFBD>^</td>
|
||||||
|
<td class=xl67>tax_m</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD>K<EFBFBD>p<span style='display:none'><rt class=font5><EFBFBD>e<EFBFBD>L<EFBFBD><EFBFBD><EFBFBD>E</rt></span></ruby><ruby><EFBFBD>N<EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt class=font5><EFBFBD>l<EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>b<EFBFBD>s</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>ŗ<EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>[<5B>C<EFBFBD><43><EFBFBD>c</rt></span></ruby><EFBFBD>i<EFBFBD><EFBFBD><EFBFBD>j</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68>app_date<ruby><font class="font5"><rt class=font5></rt></font></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'>tax_rate<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>1989/4/1</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>3</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>1997/4/1</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>5</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>2014/4/1</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>8</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70 style='border-top:none'>2019/10/1</td>
|
||||||
|
<td class=xl93 style='border-top:none;border-left:none'>10</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 style='height:12.0pt;mso-ignore:colspan'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>`<60><><EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD></rt></span></ruby><EFBFBD>X<EFBFBD>e<EFBFBD>[<5B>^<5E>X</td>
|
||||||
|
<td class=xl67>order_sts_m</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><EFBFBD>X<EFBFBD>e<EFBFBD>[<5B>^<5E>X<EFBFBD>R<EFBFBD>[<5B>h<ruby><font class="font5"><rt class=font5></rt></font></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><EFBFBD>X<EFBFBD>e<EFBFBD>[<5B>^<5E>X<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68>sts_cd<ruby><font class="font5"><rt class=font5></rt></font></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'>sts<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ST001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>`<60><><EFBFBD>E</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>J<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>E</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ST002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>j<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>J</rt></span></ruby><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>}</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ST003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>n<EFBFBD>b<EFBFBD>\<5C>E</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>r</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ST004</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD>z<EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>n<EFBFBD>C<EFBFBD>\<5C>E</rt></span></ruby><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>`<60><><EFBFBD>E</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ST010</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><ruby><EFBFBD>q<EFBFBD>l<span
|
||||||
|
style='display:none'><rt><EFBFBD>L<EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>T<EFBFBD>}</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>E<EFBFBD>P<EFBFBD>g<EFBFBD><EFBFBD></rt></span></ruby><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>Y</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70 style='border-top:none'>ST999</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD>L<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD><EFBFBD></td>
|
||||||
|
</tr>
|
||||||
|
<![if supportMisalignedColumns]>
|
||||||
|
<tr height=0 style='display:none'>
|
||||||
|
<td width=21 style='width:16pt'></td>
|
||||||
|
<td width=104 style='width:78pt'></td>
|
||||||
|
<td width=159 style='width:119pt'></td>
|
||||||
|
</tr>
|
||||||
|
<![endif]>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
803
【練習問題】 SQL/Question3/データ定義.files/sheet002.htm
Normal file
@@ -0,0 +1,803 @@
|
|||||||
|
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
||||||
|
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||||
|
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||||
|
xmlns="http://www.w3.org/TR/REC-html40">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv=Content-Type content="text/html; charset=shift_jis">
|
||||||
|
<meta name=ProgId content=Excel.Sheet>
|
||||||
|
<meta name=Generator content="Microsoft Excel 15">
|
||||||
|
<link id=Main-File rel=Main-File href="../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm">
|
||||||
|
<link rel=File-List href=filelist.xml>
|
||||||
|
<link rel=Stylesheet href=stylesheet.css>
|
||||||
|
<style>
|
||||||
|
<!--table
|
||||||
|
{mso-displayed-decimal-separator:"\.";
|
||||||
|
mso-displayed-thousand-separator:"\,";}
|
||||||
|
@page
|
||||||
|
{margin:.75in .25in .75in .25in;
|
||||||
|
mso-header-margin:.3in;
|
||||||
|
mso-footer-margin:.3in;
|
||||||
|
mso-page-orientation:landscape;}
|
||||||
|
ruby
|
||||||
|
{ruby-align:left;}
|
||||||
|
rt
|
||||||
|
{color:windowtext;
|
||||||
|
font-size:6.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;
|
||||||
|
mso-char-type:katakana;
|
||||||
|
display:none;}
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
<![if !supportTabStrip]><script language="JavaScript">
|
||||||
|
<!--
|
||||||
|
function fnUpdateTabs()
|
||||||
|
{
|
||||||
|
if (parent.window.g_iIEVer>=4) {
|
||||||
|
if (parent.document.readyState=="complete"
|
||||||
|
&& parent.frames['frTabs'].document.readyState=="complete")
|
||||||
|
parent.fnSetActiveSheet(1);
|
||||||
|
else
|
||||||
|
window.setTimeout("fnUpdateTabs();",150);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (window.name!="frSheet")
|
||||||
|
window.location.replace("../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm");
|
||||||
|
else
|
||||||
|
fnUpdateTabs();
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<![endif]>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body link="#0563C1" vlink="#954F72" class=xl67>
|
||||||
|
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width=1881 style='border-collapse:
|
||||||
|
collapse;table-layout:fixed;width:1410pt'>
|
||||||
|
<col class=xl66 width=21 style='mso-width-source:userset;mso-width-alt:672;
|
||||||
|
width:16pt'>
|
||||||
|
<col class=xl67 width=85 style='mso-width-source:userset;mso-width-alt:2720;
|
||||||
|
width:64pt'>
|
||||||
|
<col class=xl67 width=95 style='mso-width-source:userset;mso-width-alt:3040;
|
||||||
|
width:71pt'>
|
||||||
|
<col class=xl67 width=140 style='mso-width-source:userset;mso-width-alt:4480;
|
||||||
|
width:105pt'>
|
||||||
|
<col class=xl67 width=127 style='mso-width-source:userset;mso-width-alt:4064;
|
||||||
|
width:95pt'>
|
||||||
|
<col class=xl67 width=119 style='mso-width-source:userset;mso-width-alt:3808;
|
||||||
|
width:89pt'>
|
||||||
|
<col class=xl67 width=104 style='mso-width-source:userset;mso-width-alt:3328;
|
||||||
|
width:78pt'>
|
||||||
|
<col class=xl67 width=119 style='mso-width-source:userset;mso-width-alt:3808;
|
||||||
|
width:89pt'>
|
||||||
|
<col class=xl67 width=163 style='mso-width-source:userset;mso-width-alt:5216;
|
||||||
|
width:122pt'>
|
||||||
|
<col class=xl67 width=97 style='mso-width-source:userset;mso-width-alt:3104;
|
||||||
|
width:73pt'>
|
||||||
|
<col class=xl67 width=147 style='mso-width-source:userset;mso-width-alt:4704;
|
||||||
|
width:110pt'>
|
||||||
|
<col class=xl67 width=155 style='mso-width-source:userset;mso-width-alt:4960;
|
||||||
|
width:116pt'>
|
||||||
|
<col class=xl67 width=97 span=2 style='mso-width-source:userset;mso-width-alt:
|
||||||
|
3104;width:73pt'>
|
||||||
|
<col class=xl67 width=123 style='mso-width-source:userset;mso-width-alt:3936;
|
||||||
|
width:92pt'>
|
||||||
|
<col class=xl67 width=101 style='mso-width-source:userset;mso-width-alt:3232;
|
||||||
|
width:76pt'>
|
||||||
|
<col class=xl67 width=91 style='mso-width-source:userset;mso-width-alt:2912;
|
||||||
|
width:68pt'>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 width=106 style='height:12.0pt;mso-ignore:
|
||||||
|
colspan;width:80pt'><ruby><EFBFBD>ڋq<span style='display:none'><rt><EFBFBD>R<EFBFBD>L<EFBFBD><EFBFBD><EFBFBD>N</rt></span></ruby><EFBFBD>}<7D>X<EFBFBD>^</td>
|
||||||
|
<td class=xl67 width=95 style='width:71pt'>user_m</td>
|
||||||
|
<td class=xl67 width=140 style='width:105pt'></td>
|
||||||
|
<td class=xl67 width=127 style='width:95pt'></td>
|
||||||
|
<td class=xl67 width=119 style='width:89pt'></td>
|
||||||
|
<td class=xl67 width=104 style='width:78pt'></td>
|
||||||
|
<td class=xl67 width=119 style='width:89pt'></td>
|
||||||
|
<td class=xl67 width=163 style='width:122pt'></td>
|
||||||
|
<td class=xl67 width=97 style='width:73pt'></td>
|
||||||
|
<td class=xl67 width=147 style='width:110pt'></td>
|
||||||
|
<td class=xl67 width=155 style='width:116pt'></td>
|
||||||
|
<td class=xl67 width=97 style='width:73pt'></td>
|
||||||
|
<td class=xl67 width=97 style='width:73pt'></td>
|
||||||
|
<td class=xl67 width=123 style='width:92pt'></td>
|
||||||
|
<td class=xl67 width=101 style='width:76pt'></td>
|
||||||
|
<td class=xl67 width=91 style='width:68pt'></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD>ڋq<span style='display:none'><rt><EFBFBD>R<EFBFBD>L<EFBFBD><EFBFBD><EFBFBD>N</rt></span></ruby>ID</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>V</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>V</rt></span></ruby><EFBFBD>J<EFBFBD>i</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><EFBFBD>J<EFBFBD>i</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>N<span style='display:none'><rt><EFBFBD>Z<EFBFBD>C<EFBFBD>l<EFBFBD><EFBFBD></rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>K<EFBFBD>b<EFBFBD>s</rt></span></ruby></td>
|
||||||
|
<td class=xl73><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>Z<EFBFBD>C<EFBFBD>x<EFBFBD>c</rt></span></ruby></td>
|
||||||
|
<td class=xl73><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>A<EFBFBD>h<EFBFBD><68><EFBFBD>X</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>X<EFBFBD>֔ԍ<EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>r<EFBFBD><EFBFBD><EFBFBD>o<EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>P<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>s<EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>V<EFBFBD>N</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>`<60><><EFBFBD>E<EFBFBD>\<5C><></rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>`<60><><EFBFBD>E<EFBFBD>C<EFBFBD>L</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>Z<EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>V<EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>^<5E>e<EFBFBD><65><EFBFBD>m</rt></span></ruby><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>d<EFBFBD>b<span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>f<EFBFBD><EFBFBD><EFBFBD><EFBFBD></rt></span></ruby><ruby><EFBFBD>ԍ<EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>o<EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><EFBFBD>p<EFBFBD>X<EFBFBD><EFBFBD><EFBFBD>[<5B>h<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>user_id</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_f_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_f_nm_kn</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_nm_kn</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_birth</td>
|
||||||
|
<td class=xl87>gender_cd</td>
|
||||||
|
<td class=xl87>mail_address</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_post_no</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_prefecture_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_municipality_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_city_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_address</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_building_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_tel_no</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_passwd</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=18 style='height:13.5pt'>
|
||||||
|
<td height=18 class=xl66 style='height:13.5pt'></td>
|
||||||
|
<td class=xl84>CU00000001</td>
|
||||||
|
<td class=xl84 style='border-left:none'><ruby><EFBFBD>R<EFBFBD>c<span style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD>}<7D>_</rt></span></ruby></td>
|
||||||
|
<td class=xl84 style='border-left:none'><EFBFBD><EFBFBD><EFBFBD>}<7D>_</td>
|
||||||
|
<td class=xl84 style='border-left:none'><ruby><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>n<EFBFBD>W<EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
<td class=xl84 style='border-left:none'><EFBFBD>n<EFBFBD>W<EFBFBD><EFBFBD></td>
|
||||||
|
<td class=xl84 style='border-left:none'>1973/06/06</td>
|
||||||
|
<td class=xl84 style='border-left:none'>J0</td>
|
||||||
|
<td class=xl86>h.yamada@hoge.com</td>
|
||||||
|
<td class=xl84>140-0014</td>
|
||||||
|
<td class=xl84 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<span style='display:none'><rt><EFBFBD>g<EFBFBD>E<EFBFBD>L<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>g</rt></span></ruby></td>
|
||||||
|
<td class=xl84 style='border-left:none'><ruby><EFBFBD>i<EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>V<EFBFBD>i<EFBFBD>K<EFBFBD><EFBFBD><EFBFBD>N</rt></span></ruby></td>
|
||||||
|
<td class=xl84 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>I<EFBFBD>I<EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl84 style='border-left:none'><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><></td>
|
||||||
|
<td class=xl84 style='border-left:none'><EFBFBD>}<7D><><EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>P<EFBFBD>R<EFBFBD>X<EFBFBD>X</td>
|
||||||
|
<td class=xl84 style='border-left:none'>090-xxxx-xxxx</td>
|
||||||
|
<td class=xl84 style='border-left:none'>hX8UEzE8</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=18 style='height:13.5pt'>
|
||||||
|
<td height=18 class=xl66 style='height:13.5pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>^<5E>J<EFBFBD>n<EFBFBD>V</rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>^<5E>J<EFBFBD>n<EFBFBD>V</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>E</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:
|
||||||
|
none'><rt><EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>^<5E>c<EFBFBD><63></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>1970/11/10</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>J0</td>
|
||||||
|
<td class=xl72 style='border-top:none'>t.takahashi@hoge.com</td>
|
||||||
|
<td class=xl69 style='border-top:none'>230-0063</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD>_<EFBFBD>ސ쌧<span
|
||||||
|
style='display:none'><rt><EFBFBD>J<EFBFBD>i<EFBFBD>K<EFBFBD><EFBFBD><EFBFBD>P<EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD>l<EFBFBD>s<EFBFBD>ߌ<EFBFBD><EFBFBD><EFBFBD></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD>ߌ<EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>c<EFBFBD><EFBFBD><EFBFBD>~</rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>~-<2D>~<7E>~</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>090-xxxx-xxxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>UQQA6B3R</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=18 style='height:13.5pt'>
|
||||||
|
<td height=18 class=xl66 style='height:13.5pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>A<EFBFBD>T</rt></span></ruby><ruby><EFBFBD>}<span style='display:
|
||||||
|
none'><rt><EFBFBD>G<EFBFBD>_</rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>}<7D>G<EFBFBD>_</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD>y<span
|
||||||
|
style='display:none'><rt><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>1975/1/3</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>J0</td>
|
||||||
|
<td class=xl72 style='border-top:none'>j.maeda@hoge.com</td>
|
||||||
|
<td class=xl69 style='border-top:none'>333-0823</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>ʌ<EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>T<EFBFBD>C<EFBFBD>^<5E>}<7D>P<EFBFBD><50></rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<span
|
||||||
|
style='display:none'><rt><EFBFBD>J<EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>`<60>V</rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD>ΐ_<span
|
||||||
|
style='display:none'><rt><EFBFBD>C<EFBFBD>V<EFBFBD>K<EFBFBD>~</rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>090-yyyy-1234</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>UDHWnLLk</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=18 style='height:13.5pt'>
|
||||||
|
<td height=18 class=xl66 style='height:13.5pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000004</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD>O<EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>~<7E><><EFBFBD>P</rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>~<7E><><EFBFBD>P</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD>͉<EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>X<EFBFBD>P</rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>X<EFBFBD>P</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>1970/10/10</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>J0</td>
|
||||||
|
<td class=xl72 style='border-top:none'>s.miyake@hoge.com</td>
|
||||||
|
<td class=xl69 style='border-top:none'>273-0031</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>`<60>o<EFBFBD>P<EFBFBD><50></rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><ruby><EFBFBD>D<EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>t<EFBFBD>i<EFBFBD>o<EFBFBD>V</rt></span></ruby><ruby><EFBFBD>s<span
|
||||||
|
style='display:none'><rt><EFBFBD>V</rt></span></ruby></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD>D</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>A<EFBFBD>p<EFBFBD>[<5B>g<EFBFBD>P<EFBFBD>O<EFBFBD>P</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>090-yyyy-5678</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>E2QGZNzw</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=18 style='height:13.5pt'>
|
||||||
|
<td height=18 class=xl66 style='height:13.5pt'></td>
|
||||||
|
<td class=xl70 style='border-top:none'>CU00000005</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD>X<EFBFBD>Y<EFBFBD><EFBFBD><EFBFBD>g</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><ruby><EFBFBD>I<EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>C<EFBFBD>`</rt></span></ruby></td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>C<EFBFBD>`</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>1969/1/13</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>J0</td>
|
||||||
|
<td class=xl79 style='border-top:none'>y.suzumoto@hoge.com</td>
|
||||||
|
<td class=xl70 style='border-top:none'>321-0207</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><ruby><EFBFBD>Ȗ،<EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>g<EFBFBD>`<60>M<EFBFBD>P<EFBFBD><50></rt></span></ruby></td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>p<EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD>k<EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD>~<7E>~<7E>~<7E>~</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>090-1234-xxxx</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>DZy5qadL</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 style='height:12.0pt;mso-ignore:colspan'><EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>b<EFBFBD>g<EFBFBD>J<EFBFBD>[<5B>h</td>
|
||||||
|
<td class=xl67>credit_card_t</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD>ڋq<span style='display:none'><rt><EFBFBD>R<EFBFBD>L<EFBFBD><EFBFBD><EFBFBD>N</rt></span></ruby>ID</td>
|
||||||
|
<td class=xl68 style='border-left:none'><EFBFBD>J<EFBFBD>[<5B>h<ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><EFBFBD>J<EFBFBD>[<5B>h<ruby><EFBFBD>ԍ<EFBFBD><span style='display:none'><rt><EFBFBD>o<EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><EFBFBD>J<EFBFBD>[<5B>h<ruby><EFBFBD><EFBFBD><EFBFBD>`<span style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>M</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>L<EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R<EFBFBD>E</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>L<EFBFBD>Q<EFBFBD><EFBFBD></rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:
|
||||||
|
none'><rt><EFBFBD>c<EFBFBD>L</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>L<EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R<EFBFBD>E</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>L<EFBFBD>Q<EFBFBD><EFBFBD></rt></span></ruby><ruby><EFBFBD>N<span style='display:
|
||||||
|
none'><rt><EFBFBD>l<EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><EFBFBD>V<EFBFBD>[<5B>N<EFBFBD><4E><EFBFBD>b<EFBFBD>g<EFBFBD>R<EFBFBD>[<5B>h</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>user_id</td>
|
||||||
|
<td class=xl85 style='border-left:none'>credit_div_cd</td>
|
||||||
|
<td class=xl85 style='border-left:none'>credit_no</td>
|
||||||
|
<td class=xl85 style='border-left:none'>credit_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>validated_month</td>
|
||||||
|
<td class=xl85 style='border-left:none'>validated year</td>
|
||||||
|
<td class=xl85 style='border-left:none'>sc_cd</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl84>CU00000001</td>
|
||||||
|
<td class=xl84 style='border-left:none'>CD001</td>
|
||||||
|
<td class=xl84 style='border-left:none'>xxxx-xxxx-xxxx-xxxx</td>
|
||||||
|
<td class=xl84 style='border-left:none'>HAJIME YAMADA</td>
|
||||||
|
<td class=xl84 style='border-left:none'>03</td>
|
||||||
|
<td class=xl84 style='border-left:none'>2017</td>
|
||||||
|
<td class=xl84 style='border-left:none'>xxx</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000005</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>CD001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxxx-xxxx-xxxx-xxxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>YUICHI SUZUMOTO</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>03</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2016</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 style='height:12.0pt;mso-ignore:colspan'><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>C<EFBFBD><EFBFBD><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>L</rt></span></ruby></td>
|
||||||
|
<td class=xl67>login_hist_t</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD>ڋq<span style='display:none'><rt><EFBFBD>R<EFBFBD>L<EFBFBD><EFBFBD><EFBFBD>N</rt></span></ruby>ID</td>
|
||||||
|
<td class=xl68 style='border-left:none'>SFX</td>
|
||||||
|
<td class=xl68 style='border-left:none'><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>C<EFBFBD><EFBFBD><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:
|
||||||
|
none'><rt><EFBFBD>j<EFBFBD>`<60>W</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>ڑ<EFBFBD><span style='display:none'><rt><EFBFBD>Z<EFBFBD>c<EFBFBD>]<5D>N</rt></span></ruby><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>T<EFBFBD>L</rt></span></ruby><EFBFBD>h<EFBFBD>o</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>[<5B><><span style='display:none'><rt><EFBFBD>^<5E><><EFBFBD>}<7D>c</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>z<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>user_id</td>
|
||||||
|
<td class=xl85 style='border-left:none'>sfx</td>
|
||||||
|
<td class=xl85 style='border-left:none'>login_datetime</td>
|
||||||
|
<td class=xl85 style='border-left:none'>conn_ip</td>
|
||||||
|
<td class=xl85 style='border-left:none'>term_info</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl84>CU00000001</td>
|
||||||
|
<td class=xl84 style='border-left:none'>1</td>
|
||||||
|
<td class=xl84 style='border-left:none'>2014/10/1 10:00:00</td>
|
||||||
|
<td class=xl84 style='border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl84 style='border-left:none'><EFBFBD>X<EFBFBD>}<7D>[<5B>g<EFBFBD>t<EFBFBD>H<EFBFBD><48></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/10/10 12:27:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>X<EFBFBD>}<7D>[<5B>g<EFBFBD>t<EFBFBD>H<EFBFBD><48></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>3</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/10/25 20:30:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>X<EFBFBD>}<7D>[<5B>g<EFBFBD>t<EFBFBD>H<EFBFBD><48></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>4</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/11/3 10:15:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>X<EFBFBD>}<7D>[<5B>g<EFBFBD>t<EFBFBD>H<EFBFBD><48></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>5</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/11/5 15:05:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>PC</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>6</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/12/1 16:58:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>PC</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>1</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/5/5 15:30:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>PC</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/7/7 12:30:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>PC</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>3</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/11/25 09:30:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>PC</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>1</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2013/12/24 11:11:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>PC</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/1/10 12:20:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>PC</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>3</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/10/10 15:27:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>PC</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000004</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>1</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/7/7 10:00:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>X<EFBFBD>}<7D>[<5B>g<EFBFBD>t<EFBFBD>H<EFBFBD><48></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>CU00000005</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>1</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/7/5 19:42:00</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxx.xxx.xxx.xxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>X<EFBFBD>}<7D>[<5B>g<EFBFBD>t<EFBFBD>H<EFBFBD><48></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<![if supportMisalignedColumns]>
|
||||||
|
<tr height=0 style='display:none'>
|
||||||
|
<td width=21 style='width:16pt'></td>
|
||||||
|
<td width=85 style='width:64pt'></td>
|
||||||
|
<td width=95 style='width:71pt'></td>
|
||||||
|
<td width=140 style='width:105pt'></td>
|
||||||
|
<td width=127 style='width:95pt'></td>
|
||||||
|
<td width=119 style='width:89pt'></td>
|
||||||
|
<td width=104 style='width:78pt'></td>
|
||||||
|
<td width=119 style='width:89pt'></td>
|
||||||
|
<td width=163 style='width:122pt'></td>
|
||||||
|
<td width=97 style='width:73pt'></td>
|
||||||
|
<td width=147 style='width:110pt'></td>
|
||||||
|
<td width=155 style='width:116pt'></td>
|
||||||
|
<td width=97 style='width:73pt'></td>
|
||||||
|
<td width=97 style='width:73pt'></td>
|
||||||
|
<td width=123 style='width:92pt'></td>
|
||||||
|
<td width=101 style='width:76pt'></td>
|
||||||
|
<td width=91 style='width:68pt'></td>
|
||||||
|
</tr>
|
||||||
|
<![endif]>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
185
【練習問題】 SQL/Question3/データ定義.files/sheet003.htm
Normal file
@@ -0,0 +1,185 @@
|
|||||||
|
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
||||||
|
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||||
|
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||||
|
xmlns="http://www.w3.org/TR/REC-html40">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv=Content-Type content="text/html; charset=shift_jis">
|
||||||
|
<meta name=ProgId content=Excel.Sheet>
|
||||||
|
<meta name=Generator content="Microsoft Excel 15">
|
||||||
|
<link id=Main-File rel=Main-File href="../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm">
|
||||||
|
<link rel=File-List href=filelist.xml>
|
||||||
|
<link rel=Stylesheet href=stylesheet.css>
|
||||||
|
<style>
|
||||||
|
<!--table
|
||||||
|
{mso-displayed-decimal-separator:"\.";
|
||||||
|
mso-displayed-thousand-separator:"\,";}
|
||||||
|
@page
|
||||||
|
{margin:.75in .7in .75in .7in;
|
||||||
|
mso-header-margin:.3in;
|
||||||
|
mso-footer-margin:.3in;
|
||||||
|
mso-page-orientation:landscape;}
|
||||||
|
ruby
|
||||||
|
{ruby-align:left;}
|
||||||
|
rt
|
||||||
|
{color:windowtext;
|
||||||
|
font-size:6.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;
|
||||||
|
mso-char-type:katakana;
|
||||||
|
display:none;}
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
<![if !supportTabStrip]><script language="JavaScript">
|
||||||
|
<!--
|
||||||
|
function fnUpdateTabs()
|
||||||
|
{
|
||||||
|
if (parent.window.g_iIEVer>=4) {
|
||||||
|
if (parent.document.readyState=="complete"
|
||||||
|
&& parent.frames['frTabs'].document.readyState=="complete")
|
||||||
|
parent.fnSetActiveSheet(2);
|
||||||
|
else
|
||||||
|
window.setTimeout("fnUpdateTabs();",150);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (window.name!="frSheet")
|
||||||
|
window.location.replace("../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm");
|
||||||
|
else
|
||||||
|
fnUpdateTabs();
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<![endif]>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body link="#0563C1" vlink="#954F72" class=xl67>
|
||||||
|
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width=1096 style='border-collapse:
|
||||||
|
collapse;table-layout:fixed;width:822pt'>
|
||||||
|
<col class=xl66 width=19 style='mso-width-source:userset;mso-width-alt:608;
|
||||||
|
width:14pt'>
|
||||||
|
<col class=xl67 width=82 style='mso-width-source:userset;mso-width-alt:2624;
|
||||||
|
width:62pt'>
|
||||||
|
<col class=xl67 width=452 style='mso-width-source:userset;mso-width-alt:14464;
|
||||||
|
width:339pt'>
|
||||||
|
<col class=xl67 width=179 style='mso-width-source:userset;mso-width-alt:5728;
|
||||||
|
width:134pt'>
|
||||||
|
<col class=xl67 width=93 style='mso-width-source:userset;mso-width-alt:2976;
|
||||||
|
width:70pt'>
|
||||||
|
<col class=xl67 width=100 style='mso-width-source:userset;mso-width-alt:3200;
|
||||||
|
width:75pt'>
|
||||||
|
<col class=xl67 width=88 style='mso-width-source:userset;mso-width-alt:2816;
|
||||||
|
width:66pt'>
|
||||||
|
<col class=xl67 width=83 style='mso-width-source:userset;mso-width-alt:2656;
|
||||||
|
width:62pt'>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 width=101 style='height:12.0pt;mso-ignore:
|
||||||
|
colspan;width:76pt'><ruby><EFBFBD><EFBFBD><EFBFBD>i<span style='display:none'><rt><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby><EFBFBD>}<7D>X<EFBFBD>^</td>
|
||||||
|
<td class=xl67 width=452 style='width:339pt'>goods_m</td>
|
||||||
|
<td class=xl67 width=179 style='width:134pt'></td>
|
||||||
|
<td class=xl67 width=93 style='width:70pt'></td>
|
||||||
|
<td class=xl67 width=100 style='width:75pt'></td>
|
||||||
|
<td class=xl67 width=88 style='width:66pt'></td>
|
||||||
|
<td class=xl67 width=83 style='width:62pt'></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD><EFBFBD><EFBFBD>i<span style='display:none'><rt><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby>ID</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><EFBFBD><EFBFBD><EFBFBD>[<5B>J<EFBFBD>[<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>戵<span style='display:none'><rt><EFBFBD>g<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>c<EFBFBD>J</rt></span></ruby><ruby><EFBFBD>J<EFBFBD>n<EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>J<EFBFBD>C<EFBFBD>V<EFBFBD>r</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>i<span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>J<EFBFBD>J<EFBFBD>N</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>Q<EFBFBD><EFBFBD><EFBFBD>J</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>goods_id</td>
|
||||||
|
<td class=xl85 style='border-left:none'>goods_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>goods_maker</td>
|
||||||
|
<td class=xl85 style='border-left:none'>goods_div_cd</td>
|
||||||
|
<td class=xl85 style='border-left:none'>handling_date</td>
|
||||||
|
<td class=xl85 style='border-left:none'>goods_price</td>
|
||||||
|
<td class=xl85 style='border-left:none'>goods_cost</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=22 style='mso-height-source:userset;height:16.5pt'>
|
||||||
|
<td height=22 class=xl66 style='height:16.5pt'></td>
|
||||||
|
<td class=xl84>ITM0000001</td>
|
||||||
|
<td class=xl84 style='border-left:none'>EIZO FlexScan 27<32>C<EFBFBD><43><EFBFBD>`<60>J<EFBFBD><4A><EFBFBD>[<5B>t<EFBFBD><74><EFBFBD><EFBFBD><EFBFBD>j<EFBFBD>^<5E>[<span
|
||||||
|
style='mso-spacerun:yes'> </span></td>
|
||||||
|
<td class=xl84 style='border-left:none'>EIZO</td>
|
||||||
|
<td class=xl84 style='border-left:none'>K0002</td>
|
||||||
|
<td class=xl84 style='border-left:none'>2012/8/24</td>
|
||||||
|
<td class=xl91 style='border-left:none'>79110</td>
|
||||||
|
<td class=xl91 style='border-left:none'>40000</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ITM0000002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>T<EFBFBD>b<EFBFBD>J<EFBFBD>[ <20><><EFBFBD>{<7B><><EFBFBD>\ <20>ԍ<EFBFBD><D48D><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
<20><><EFBFBD>v<EFBFBD><76><EFBFBD>J<EFBFBD><4A><EFBFBD>j<EFBFBD>t<EFBFBD>H<EFBFBD>[<5B><><span style='mso-spacerun:yes'> </span></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>adidas(<28>A<EFBFBD>f<EFBFBD>B<EFBFBD>_<EFBFBD>X)</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>K0003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/3/4</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>12915</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>2000</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ITM0000003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>R<EFBFBD>b<EFBFBD>v <20>ӂƂ<D382><C682>N<EFBFBD><4E><EFBFBD>[<5B>i<EFBFBD>[
|
||||||
|
(<28>p<EFBFBD>[<5B><><EFBFBD>z<EFBFBD><7A><EFBFBD>C<EFBFBD>g)</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>R<EFBFBD>b<EFBFBD>v</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>K0006</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2013/9/17</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>24500</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>12000</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ITM0000004</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD>K<EFBFBD><EFBFBD> <20>A<EFBFBD>N<EFBFBD>A<EFBFBD>v<EFBFBD>[<5B><><EFBFBD>I<EFBFBD><49> <20>}<7D><><EFBFBD><EFBFBD> EDT
|
||||||
|
SP 100ml<span style='mso-spacerun:yes'> </span></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD>K<EFBFBD><EFBFBD></td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>K0007</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2010/3/3</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>3712</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>1500</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70 style='border-top:none'>ITM0000005</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD>}<7D>W<EFBFBD>b<EFBFBD>N:<3A>U<EFBFBD>E<EFBFBD>M<EFBFBD><4D><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>O
|
||||||
|
<20><><EFBFBD>{<7B>Z<EFBFBD>b<EFBFBD>g2015 <20>u<EFBFBD>[<5B>X<EFBFBD>^<5E>[<5B>p<EFBFBD>b<EFBFBD>N <20><><EFBFBD>{<7B><><EFBFBD><EFBFBD> BOX</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD>E<EFBFBD>B<EFBFBD>U<EFBFBD>[<5B>Y<EFBFBD>E<EFBFBD>I<EFBFBD>u<EFBFBD>E<EFBFBD>U<EFBFBD>E<EFBFBD>R<EFBFBD>[<5B>X<EFBFBD>g</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>K0008</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>2014/4/28</td>
|
||||||
|
<td class=xl93 style='border-top:none;border-left:none'>10952</td>
|
||||||
|
<td class=xl93 style='border-top:none;border-left:none'>6000</td>
|
||||||
|
</tr>
|
||||||
|
<![if supportMisalignedColumns]>
|
||||||
|
<tr height=0 style='display:none'>
|
||||||
|
<td width=19 style='width:14pt'></td>
|
||||||
|
<td width=82 style='width:62pt'></td>
|
||||||
|
<td width=452 style='width:339pt'></td>
|
||||||
|
<td width=179 style='width:134pt'></td>
|
||||||
|
<td width=93 style='width:70pt'></td>
|
||||||
|
<td width=100 style='width:75pt'></td>
|
||||||
|
<td width=88 style='width:66pt'></td>
|
||||||
|
<td width=83 style='width:62pt'></td>
|
||||||
|
</tr>
|
||||||
|
<![endif]>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
151
【練習問題】 SQL/Question3/データ定義.files/sheet004.htm
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
||||||
|
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||||
|
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||||
|
xmlns="http://www.w3.org/TR/REC-html40">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv=Content-Type content="text/html; charset=shift_jis">
|
||||||
|
<meta name=ProgId content=Excel.Sheet>
|
||||||
|
<meta name=Generator content="Microsoft Excel 15">
|
||||||
|
<link id=Main-File rel=Main-File href="../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm">
|
||||||
|
<link rel=File-List href=filelist.xml>
|
||||||
|
<link rel=Stylesheet href=stylesheet.css>
|
||||||
|
<style>
|
||||||
|
<!--table
|
||||||
|
{mso-displayed-decimal-separator:"\.";
|
||||||
|
mso-displayed-thousand-separator:"\,";}
|
||||||
|
@page
|
||||||
|
{margin:.75in .7in .75in .7in;
|
||||||
|
mso-header-margin:.3in;
|
||||||
|
mso-footer-margin:.3in;
|
||||||
|
mso-page-orientation:landscape;}
|
||||||
|
ruby
|
||||||
|
{ruby-align:left;}
|
||||||
|
rt
|
||||||
|
{color:windowtext;
|
||||||
|
font-size:6.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;
|
||||||
|
mso-char-type:katakana;
|
||||||
|
display:none;}
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
<![if !supportTabStrip]><script language="JavaScript">
|
||||||
|
<!--
|
||||||
|
function fnUpdateTabs()
|
||||||
|
{
|
||||||
|
if (parent.window.g_iIEVer>=4) {
|
||||||
|
if (parent.document.readyState=="complete"
|
||||||
|
&& parent.frames['frTabs'].document.readyState=="complete")
|
||||||
|
parent.fnSetActiveSheet(3);
|
||||||
|
else
|
||||||
|
window.setTimeout("fnUpdateTabs();",150);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (window.name!="frSheet")
|
||||||
|
window.location.replace("../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm");
|
||||||
|
else
|
||||||
|
fnUpdateTabs();
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<![endif]>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body link="#0563C1" vlink="#954F72" class=xl67>
|
||||||
|
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width=954 style='border-collapse:
|
||||||
|
collapse;table-layout:fixed;width:716pt'>
|
||||||
|
<col class=xl66 width=22 style='mso-width-source:userset;mso-width-alt:704;
|
||||||
|
width:17pt'>
|
||||||
|
<col class=xl67 width=63 style='mso-width-source:userset;mso-width-alt:2016;
|
||||||
|
width:47pt'>
|
||||||
|
<col class=xl67 width=71 style='mso-width-source:userset;mso-width-alt:2272;
|
||||||
|
width:53pt'>
|
||||||
|
<col class=xl67 width=103 style='mso-width-source:userset;mso-width-alt:3296;
|
||||||
|
width:77pt'>
|
||||||
|
<col class=xl67 width=153 style='mso-width-source:userset;mso-width-alt:4896;
|
||||||
|
width:115pt'>
|
||||||
|
<col class=xl67 width=162 style='mso-width-source:userset;mso-width-alt:5184;
|
||||||
|
width:122pt'>
|
||||||
|
<col class=xl67 width=103 style='mso-width-source:userset;mso-width-alt:3296;
|
||||||
|
width:77pt'>
|
||||||
|
<col class=xl67 width=147 style='mso-width-source:userset;mso-width-alt:4704;
|
||||||
|
width:110pt'>
|
||||||
|
<col class=xl67 width=130 style='mso-width-source:userset;mso-width-alt:4160;
|
||||||
|
width:98pt'>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 width=85 style='height:12.0pt;mso-ignore:
|
||||||
|
colspan;width:64pt'><ruby><EFBFBD>q<EFBFBD><EFBFBD><span style='display:none'><rt class=font7><EFBFBD>\<5C>E<EFBFBD>R</rt></span></ruby><EFBFBD>}<7D>X<EFBFBD>^</td>
|
||||||
|
<td class=xl67 width=71 style='width:53pt'>store_m</td>
|
||||||
|
<td class=xl67 width=103 style='width:77pt'></td>
|
||||||
|
<td class=xl67 width=153 style='width:115pt'></td>
|
||||||
|
<td class=xl67 width=162 style='width:122pt'></td>
|
||||||
|
<td class=xl67 width=103 style='width:77pt'></td>
|
||||||
|
<td class=xl67 width=147 style='width:110pt'></td>
|
||||||
|
<td class=xl67 width=130 style='width:98pt'></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD>q<EFBFBD><EFBFBD><span style='display:none'><rt class=font7><EFBFBD>\<5C>E<EFBFBD>R</rt></span></ruby>ID</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>q<EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>\<5C>E<EFBFBD>R</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>X<EFBFBD>֔ԍ<EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>r<EFBFBD><EFBFBD><EFBFBD>o<EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>P<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>s<EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>V<EFBFBD>N</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>`<60><><EFBFBD>E<EFBFBD>\<5C><></rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>`<60><><EFBFBD>E<EFBFBD>C<EFBFBD>L</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD>Z<EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font7><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>V<EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font7><EFBFBD>^<5E>e<EFBFBD><65><EFBFBD>m</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>store_id</td>
|
||||||
|
<td class=xl85 style='border-left:none'>store_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>store_post_no</td>
|
||||||
|
<td class=xl85 style='border-left:none'>store_prefecture_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>store_municipality_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>store_city_nm</td>
|
||||||
|
<td class=xl85 style='border-left:none'>store_address</td>
|
||||||
|
<td class=xl85 style='border-left:none'>store_building_nm</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl88>W0001</td>
|
||||||
|
<td class=xl88 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>I<EFBFBD>I<EFBFBD>C</rt></span></ruby><ruby><EFBFBD>q<EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>\<5C>E<EFBFBD>R</rt></span></ruby></td>
|
||||||
|
<td class=xl88 style='border-left:none'>140-0014</td>
|
||||||
|
<td class=xl88 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<span style='display:none'><rt><EFBFBD>g<EFBFBD>E<EFBFBD>L<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>g</rt></span></ruby></td>
|
||||||
|
<td class=xl88 style='border-left:none'><ruby><EFBFBD>i<EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>V<EFBFBD>i<EFBFBD>K<EFBFBD><EFBFBD><EFBFBD>N</rt></span></ruby></td>
|
||||||
|
<td class=xl88 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>I<EFBFBD>I<EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl88 style='border-left:none'>XXXXXXXXXXXXXXXX</td>
|
||||||
|
<td class=xl88 style='border-left:none'>XXXXXXXX</td>
|
||||||
|
</tr>
|
||||||
|
<![if supportMisalignedColumns]>
|
||||||
|
<tr height=0 style='display:none'>
|
||||||
|
<td width=22 style='width:17pt'></td>
|
||||||
|
<td width=63 style='width:47pt'></td>
|
||||||
|
<td width=71 style='width:53pt'></td>
|
||||||
|
<td width=103 style='width:77pt'></td>
|
||||||
|
<td width=153 style='width:115pt'></td>
|
||||||
|
<td width=162 style='width:122pt'></td>
|
||||||
|
<td width=103 style='width:77pt'></td>
|
||||||
|
<td width=147 style='width:110pt'></td>
|
||||||
|
<td width=130 style='width:98pt'></td>
|
||||||
|
</tr>
|
||||||
|
<![endif]>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
277
【練習問題】 SQL/Question3/データ定義.files/sheet005.htm
Normal file
@@ -0,0 +1,277 @@
|
|||||||
|
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
||||||
|
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||||
|
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||||
|
xmlns="http://www.w3.org/TR/REC-html40">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv=Content-Type content="text/html; charset=shift_jis">
|
||||||
|
<meta name=ProgId content=Excel.Sheet>
|
||||||
|
<meta name=Generator content="Microsoft Excel 15">
|
||||||
|
<link id=Main-File rel=Main-File href="../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm">
|
||||||
|
<link rel=File-List href=filelist.xml>
|
||||||
|
<link rel=Stylesheet href=stylesheet.css>
|
||||||
|
<style>
|
||||||
|
<!--table
|
||||||
|
{mso-displayed-decimal-separator:"\.";
|
||||||
|
mso-displayed-thousand-separator:"\,";}
|
||||||
|
@page
|
||||||
|
{margin:.75in .7in .75in .7in;
|
||||||
|
mso-header-margin:.3in;
|
||||||
|
mso-footer-margin:.3in;}
|
||||||
|
ruby
|
||||||
|
{ruby-align:left;}
|
||||||
|
rt
|
||||||
|
{color:windowtext;
|
||||||
|
font-size:6.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;
|
||||||
|
mso-char-type:katakana;
|
||||||
|
display:none;}
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
<![if !supportTabStrip]><script language="JavaScript">
|
||||||
|
<!--
|
||||||
|
function fnUpdateTabs()
|
||||||
|
{
|
||||||
|
if (parent.window.g_iIEVer>=4) {
|
||||||
|
if (parent.document.readyState=="complete"
|
||||||
|
&& parent.frames['frTabs'].document.readyState=="complete")
|
||||||
|
parent.fnSetActiveSheet(4);
|
||||||
|
else
|
||||||
|
window.setTimeout("fnUpdateTabs();",150);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (window.name!="frSheet")
|
||||||
|
window.location.replace("../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm");
|
||||||
|
else
|
||||||
|
fnUpdateTabs();
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<![endif]>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body link="#0563C1" vlink="#954F72" class=xl67>
|
||||||
|
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width=456 style='border-collapse:
|
||||||
|
collapse;table-layout:fixed;width:342pt'>
|
||||||
|
<col class=xl66 width=21 style='mso-width-source:userset;mso-width-alt:672;
|
||||||
|
width:16pt'>
|
||||||
|
<col class=xl67 width=72 style='width:54pt'>
|
||||||
|
<col class=xl67 width=91 style='mso-width-source:userset;mso-width-alt:2912;
|
||||||
|
width:68pt'>
|
||||||
|
<col class=xl67 width=87 style='mso-width-source:userset;mso-width-alt:2784;
|
||||||
|
width:65pt'>
|
||||||
|
<col class=xl67 width=85 style='mso-width-source:userset;mso-width-alt:2720;
|
||||||
|
width:64pt'>
|
||||||
|
<col class=xl67 width=100 style='mso-width-source:userset;mso-width-alt:3200;
|
||||||
|
width:75pt'>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 width=93 style='height:12.0pt;mso-ignore:
|
||||||
|
colspan;width:70pt'><ruby><EFBFBD><EFBFBD><span style='display:none'><rt class=font7><EFBFBD>U<EFBFBD>C<EFBFBD>R</rt></span></ruby><EFBFBD>}<7D>X<EFBFBD>^</td>
|
||||||
|
<td class=xl67 width=91 style='width:68pt'>stock_m</td>
|
||||||
|
<td class=xl67 width=87 style='width:65pt'></td>
|
||||||
|
<td class=xl67 width=85 style='width:64pt'></td>
|
||||||
|
<td class=xl67 width=100 style='width:75pt'></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD>q<EFBFBD><EFBFBD><span style='display:none'><rt class=font7><EFBFBD>\<5C>E<EFBFBD>R</rt></span></ruby>ID</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>i<span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby>ID</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>j<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>r</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>j<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>X<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>q</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>A</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>X<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>stock_id<ruby><font class="font7"><rt class=font7></rt></font></ruby></td>
|
||||||
|
<td class=xl85 style='border-left:none'>goods_id<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
<td class=xl85 style='border-left:none'>arrival_date<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
<td class=xl85 style='border-left:none'>arrival_num<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
<td class=xl85 style='border-left:none'>security_num<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl84>W0001</td>
|
||||||
|
<td class=xl84 style='border-left:none'>ITM0000001</td>
|
||||||
|
<td class=xl89 align=right style='border-left:none'>2012/8/24</td>
|
||||||
|
<td class=xl91 style='border-left:none'>2</td>
|
||||||
|
<td class=xl91 style='border-left:none'>2</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000001</td>
|
||||||
|
<td class=xl76 align=right style='border-top:none;border-left:none'>2012/12/25</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>3</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>3</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000001</td>
|
||||||
|
<td class=xl76 align=right style='border-top:none;border-left:none'>2013/6/1</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>2</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>2</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000001</td>
|
||||||
|
<td class=xl77 align=right style='border-top:none;border-left:none'>2013/11/20</td>
|
||||||
|
<td class=xl94 style='border-top:none;border-left:none'>5</td>
|
||||||
|
<td class=xl94 style='border-top:none;border-left:none'>4</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/8/8</td>
|
||||||
|
<td class=xl94 style='border-left:none'>7</td>
|
||||||
|
<td class=xl94 style='border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl71 style='border-top:none;border-left:none'>ITM0000002</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/3/4</td>
|
||||||
|
<td class=xl94 style='border-left:none'>100</td>
|
||||||
|
<td class=xl94 style='border-left:none'>100</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl71 style='border-left:none'>ITM0000002</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/9/5</td>
|
||||||
|
<td class=xl94 style='border-left:none'>50</td>
|
||||||
|
<td class=xl94 style='border-left:none'>45</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl71 style='border-left:none'>ITM0000002</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/9/10</td>
|
||||||
|
<td class=xl94 style='border-left:none'>60</td>
|
||||||
|
<td class=xl94 style='border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl71 style='border-left:none'>ITM0000003</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2013/9/17</td>
|
||||||
|
<td class=xl94 style='border-left:none'>5</td>
|
||||||
|
<td class=xl94 style='border-left:none'>2</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl71 style='border-left:none'>ITM0000004</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2010/3/3</td>
|
||||||
|
<td class=xl94 style='border-left:none'>10</td>
|
||||||
|
<td class=xl94 style='border-left:none'>10</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl71 style='border-left:none'>ITM0000004</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2012/10/5</td>
|
||||||
|
<td class=xl94 style='border-left:none'>3</td>
|
||||||
|
<td class=xl94 style='border-left:none'>3</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl71 style='border-left:none'>ITM0000004</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2013/9/10</td>
|
||||||
|
<td class=xl94 style='border-left:none'>6</td>
|
||||||
|
<td class=xl94 style='border-left:none'>5</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl71 style='border-left:none'>ITM0000004</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/4/3</td>
|
||||||
|
<td class=xl94 style='border-left:none'>2</td>
|
||||||
|
<td class=xl94 style='border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl71 style='border-left:none'>ITM0000005</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/4/28</td>
|
||||||
|
<td class=xl94 style='border-left:none'>150</td>
|
||||||
|
<td class=xl94 style='border-left:none'>150</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70 style='border-top:none'>W0001</td>
|
||||||
|
<td class=xl70 style='border-left:none'>ITM0000005</td>
|
||||||
|
<td class=xl78 align=right style='border-left:none'>2014/5/20</td>
|
||||||
|
<td class=xl93 style='border-left:none'>100</td>
|
||||||
|
<td class=xl93 style='border-left:none'>86</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl67 colspan=3 style='mso-ignore:colspan'><EFBFBD>i<ruby><EFBFBD><EFBFBD><EFBFBD>ɐ<EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>j<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R<EFBFBD>X<EFBFBD>E</rt></span></ruby><EFBFBD>@<40>|<7C>@<ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>q<EFBFBD>L<EFBFBD>A<EFBFBD>e</rt></span></ruby><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>X<EFBFBD>E</rt></span></ruby><EFBFBD>j<EFBFBD><EFBFBD><ruby><EFBFBD>ɐ<EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>U<EFBFBD>C<EFBFBD>R<EFBFBD>X<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl67 colspan=3 style='mso-ignore:colspan'><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>t<EFBFBD><EFBFBD></rt></span></ruby><EFBFBD><EFBFBD><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>U<EFBFBD>C<EFBFBD>R</rt></span></ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>q<EFBFBD>L<EFBFBD>A<EFBFBD>e</rt></span></ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<![if supportMisalignedColumns]>
|
||||||
|
<tr height=0 style='display:none'>
|
||||||
|
<td width=21 style='width:16pt'></td>
|
||||||
|
<td width=72 style='width:54pt'></td>
|
||||||
|
<td width=91 style='width:68pt'></td>
|
||||||
|
<td width=87 style='width:65pt'></td>
|
||||||
|
<td width=85 style='width:64pt'></td>
|
||||||
|
<td width=100 style='width:75pt'></td>
|
||||||
|
</tr>
|
||||||
|
<![endif]>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
338
【練習問題】 SQL/Question3/データ定義.files/sheet006.htm
Normal file
@@ -0,0 +1,338 @@
|
|||||||
|
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
||||||
|
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||||
|
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||||
|
xmlns="http://www.w3.org/TR/REC-html40">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv=Content-Type content="text/html; charset=shift_jis">
|
||||||
|
<meta name=ProgId content=Excel.Sheet>
|
||||||
|
<meta name=Generator content="Microsoft Excel 15">
|
||||||
|
<link id=Main-File rel=Main-File href="../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm">
|
||||||
|
<link rel=File-List href=filelist.xml>
|
||||||
|
<link rel=Stylesheet href=stylesheet.css>
|
||||||
|
<style>
|
||||||
|
<!--table
|
||||||
|
{mso-displayed-decimal-separator:"\.";
|
||||||
|
mso-displayed-thousand-separator:"\,";}
|
||||||
|
@page
|
||||||
|
{margin:.75in .7in .75in .7in;
|
||||||
|
mso-header-margin:.3in;
|
||||||
|
mso-footer-margin:.3in;
|
||||||
|
mso-page-orientation:landscape;}
|
||||||
|
ruby
|
||||||
|
{ruby-align:left;}
|
||||||
|
rt
|
||||||
|
{color:windowtext;
|
||||||
|
font-size:6.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;
|
||||||
|
mso-char-type:katakana;
|
||||||
|
display:none;}
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
<![if !supportTabStrip]><script language="JavaScript">
|
||||||
|
<!--
|
||||||
|
function fnUpdateTabs()
|
||||||
|
{
|
||||||
|
if (parent.window.g_iIEVer>=4) {
|
||||||
|
if (parent.document.readyState=="complete"
|
||||||
|
&& parent.frames['frTabs'].document.readyState=="complete")
|
||||||
|
parent.fnSetActiveSheet(5);
|
||||||
|
else
|
||||||
|
window.setTimeout("fnUpdateTabs();",150);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (window.name!="frSheet")
|
||||||
|
window.location.replace("../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm");
|
||||||
|
else
|
||||||
|
fnUpdateTabs();
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<![endif]>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body link="#0563C1" vlink="#954F72" class=xl67>
|
||||||
|
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width=744 style='border-collapse:
|
||||||
|
collapse;table-layout:fixed;width:560pt'>
|
||||||
|
<col class=xl66 width=21 style='mso-width-source:userset;mso-width-alt:672;
|
||||||
|
width:16pt'>
|
||||||
|
<col class=xl67 width=97 style='mso-width-source:userset;mso-width-alt:3104;
|
||||||
|
width:73pt'>
|
||||||
|
<col class=xl67 width=113 style='mso-width-source:userset;mso-width-alt:3616;
|
||||||
|
width:85pt'>
|
||||||
|
<col class=xl67 width=138 style='mso-width-source:userset;mso-width-alt:4416;
|
||||||
|
width:104pt'>
|
||||||
|
<col class=xl67 width=142 style='mso-width-source:userset;mso-width-alt:4544;
|
||||||
|
width:107pt'>
|
||||||
|
<col class=xl67 width=137 style='mso-width-source:userset;mso-width-alt:4384;
|
||||||
|
width:103pt'>
|
||||||
|
<col class=xl67 width=96 style='mso-width-source:userset;mso-width-alt:3072;
|
||||||
|
width:72pt'>
|
||||||
|
<col class=xl67 width=0 style='display:none;mso-width-source:userset;
|
||||||
|
mso-width-alt:3072'>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 width=118 style='height:12.0pt;mso-ignore:
|
||||||
|
colspan;width:89pt'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt class=font7><EFBFBD>j<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R</rt></span></ruby><EFBFBD>e<EFBFBD>[<5B>u<EFBFBD><75></td>
|
||||||
|
<td class=xl67 width=113 style='width:85pt'>ins_stock_m</td>
|
||||||
|
<td class=xl67 width=138 style='width:104pt'></td>
|
||||||
|
<td class=xl67 width=142 style='width:107pt'></td>
|
||||||
|
<td class=xl67 width=137 style='width:103pt'></td>
|
||||||
|
<td class=xl67 width=96 style='width:72pt'></td>
|
||||||
|
<td class=xl67 width=0></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD><EFBFBD><EFBFBD>i<span style='display:none'><rt class=font7><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby>ID</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>j<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>T<EFBFBD>L</rt></span></ruby><ruby><EFBFBD>q<EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>\<5C>E<EFBFBD>R</rt></span></ruby>ID</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>j<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R</rt></span></ruby><ruby><EFBFBD>\<5C><><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>C<EFBFBD>r</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>j<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>J<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>r</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>j<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R</rt></span></ruby><ruby><EFBFBD>\<5C>萔<span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>C<EFBFBD>X<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>ɐ<EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>j<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R<EFBFBD>X<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>q<EFBFBD>L<EFBFBD>A<EFBFBD>e</rt></span></ruby><ruby><EFBFBD>\<5C><><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>C</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font6><EFBFBD>X<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>goods_id<ruby><font class="font7"><rt class=font7></rt></font></ruby></td>
|
||||||
|
<td class=xl85 style='border-left:none'>store_id<ruby><font class="font6"><rt
|
||||||
|
class=font6></rt></font></ruby></td>
|
||||||
|
<td class=xl85 style='border-left:none'>ins_stock_exp_date</td>
|
||||||
|
<td class=xl85 style='border-left:none'>ins_stock_cmp_date</td>
|
||||||
|
<td class=xl85 style='border-left:none'>ins_stock_exp_num</td>
|
||||||
|
<td class=xl85 style='border-left:none'>ins_stock_num</td>
|
||||||
|
<td class=xl82 style='border-left:none'><EFBFBD>@</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl84>ITM0000004</td>
|
||||||
|
<td class=xl84 style='border-left:none'>W0001</td>
|
||||||
|
<td class=xl89 align=right style='border-left:none'>2010/3/3</td>
|
||||||
|
<td class=xl89 align=right style='border-left:none'>2010/3/3</td>
|
||||||
|
<td class=xl91 style='border-left:none'>10</td>
|
||||||
|
<td class=xl91 style='border-left:none'>10</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ITM0000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl76 align=right style='border-top:none;border-left:none'>2012/8/24</td>
|
||||||
|
<td class=xl76 align=right style='border-top:none;border-left:none'>2012/8/24</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>2</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ITM0000004</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl76 align=right style='border-top:none;border-left:none'>2012/10/5</td>
|
||||||
|
<td class=xl76 align=right style='border-top:none;border-left:none'>2012/10/5</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>3</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>3</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ITM0000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-top:none;border-left:none'>2012/12/25</td>
|
||||||
|
<td class=xl77 align=right style='border-top:none;border-left:none'>2012/12/25</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>3</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>3</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>ITM0000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2013/6/1</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2013/6/1</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>2</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71 style='border-top:none'>ITM0000004</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2013/9/10</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2013/9/10</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>6</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>6</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2013/9/17</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2013/9/17</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>5</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>5</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2013/11/20</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2013/11/20</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>5</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>5</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/3/4</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/3/4</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>100</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>100</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000004</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/4/3</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/4/3</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>2</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000005</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/4/28</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/4/28</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>150</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>150</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000005</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/5/20</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/5/20</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>100</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>100</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/8/8</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/8/8</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>7</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>7</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/9/5</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/9/5</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>50</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>50</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/9/10</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/9/10</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>60</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>60</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/12/3</td>
|
||||||
|
<td class=xl77 style='border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>5</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000002</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/12/10</td>
|
||||||
|
<td class=xl77 style='border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>200</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000003</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/12/12</td>
|
||||||
|
<td class=xl77 style='border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>3</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl71>ITM0000004</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl77 align=right style='border-left:none'>2014/12/15</td>
|
||||||
|
<td class=xl77 style='border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>10</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70>ITM0000005</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>W0001</td>
|
||||||
|
<td class=xl78 align=right style='border-left:none'>2014/12/25</td>
|
||||||
|
<td class=xl78 style='border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl93 style='border-top:none;border-left:none'>80</td>
|
||||||
|
<td class=xl93 style='border-top:none;border-left:none'><EFBFBD>@</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>0</td>
|
||||||
|
</tr>
|
||||||
|
<![if supportMisalignedColumns]>
|
||||||
|
<tr height=0 style='display:none'>
|
||||||
|
<td width=21 style='width:16pt'></td>
|
||||||
|
<td width=97 style='width:73pt'></td>
|
||||||
|
<td width=113 style='width:85pt'></td>
|
||||||
|
<td width=138 style='width:104pt'></td>
|
||||||
|
<td width=142 style='width:107pt'></td>
|
||||||
|
<td width=137 style='width:103pt'></td>
|
||||||
|
<td width=96 style='width:72pt'></td>
|
||||||
|
<td width=0></td>
|
||||||
|
</tr>
|
||||||
|
<![endif]>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
559
【練習問題】 SQL/Question3/データ定義.files/sheet007.htm
Normal file
@@ -0,0 +1,559 @@
|
|||||||
|
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
||||||
|
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||||
|
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||||
|
xmlns="http://www.w3.org/TR/REC-html40">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv=Content-Type content="text/html; charset=shift_jis">
|
||||||
|
<meta name=ProgId content=Excel.Sheet>
|
||||||
|
<meta name=Generator content="Microsoft Excel 15">
|
||||||
|
<link id=Main-File rel=Main-File href="../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm">
|
||||||
|
<link rel=File-List href=filelist.xml>
|
||||||
|
<link rel=Stylesheet href=stylesheet.css>
|
||||||
|
<style>
|
||||||
|
<!--table
|
||||||
|
{mso-displayed-decimal-separator:"\.";
|
||||||
|
mso-displayed-thousand-separator:"\,";}
|
||||||
|
@page
|
||||||
|
{margin:.75in .7in .75in .7in;
|
||||||
|
mso-header-margin:.3in;
|
||||||
|
mso-footer-margin:.3in;
|
||||||
|
mso-page-orientation:landscape;}
|
||||||
|
ruby
|
||||||
|
{ruby-align:left;}
|
||||||
|
rt
|
||||||
|
{color:black;
|
||||||
|
font-size:8.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;
|
||||||
|
mso-char-type:katakana;
|
||||||
|
display:none;}
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
<![if !supportTabStrip]><script language="JavaScript">
|
||||||
|
<!--
|
||||||
|
function fnUpdateTabs()
|
||||||
|
{
|
||||||
|
if (parent.window.g_iIEVer>=4) {
|
||||||
|
if (parent.document.readyState=="complete"
|
||||||
|
&& parent.frames['frTabs'].document.readyState=="complete")
|
||||||
|
parent.fnSetActiveSheet(6);
|
||||||
|
else
|
||||||
|
window.setTimeout("fnUpdateTabs();",150);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (window.name!="frSheet")
|
||||||
|
window.location.replace("../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm");
|
||||||
|
else
|
||||||
|
fnUpdateTabs();
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<![endif]>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body link="#0563C1" vlink="#954F72" class=xl67>
|
||||||
|
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width=1205 style='border-collapse:
|
||||||
|
collapse;table-layout:fixed;width:907pt'>
|
||||||
|
<col class=xl66 width=20 style='mso-width-source:userset;mso-width-alt:640;
|
||||||
|
width:15pt'>
|
||||||
|
<col class=xl67 width=68 style='mso-width-source:userset;mso-width-alt:2176;
|
||||||
|
width:51pt'>
|
||||||
|
<col class=xl67 width=85 style='mso-width-source:userset;mso-width-alt:2720;
|
||||||
|
width:64pt'>
|
||||||
|
<col class=xl67 width=122 style='mso-width-source:userset;mso-width-alt:3904;
|
||||||
|
width:92pt'>
|
||||||
|
<col class=xl67 width=81 style='mso-width-source:userset;mso-width-alt:2592;
|
||||||
|
width:61pt'>
|
||||||
|
<col class=xl67 width=76 style='mso-width-source:userset;mso-width-alt:2432;
|
||||||
|
width:57pt'>
|
||||||
|
<col class=xl67 width=97 style='mso-width-source:userset;mso-width-alt:3104;
|
||||||
|
width:73pt'>
|
||||||
|
<col class=xl67 width=82 style='mso-width-source:userset;mso-width-alt:2624;
|
||||||
|
width:62pt'>
|
||||||
|
<col class=xl67 width=98 style='mso-width-source:userset;mso-width-alt:3136;
|
||||||
|
width:74pt'>
|
||||||
|
<col class=xl67 width=79 style='mso-width-source:userset;mso-width-alt:2528;
|
||||||
|
width:59pt'>
|
||||||
|
<col class=xl67 width=113 style='mso-width-source:userset;mso-width-alt:3616;
|
||||||
|
width:85pt'>
|
||||||
|
<col class=xl67 width=158 style='mso-width-source:userset;mso-width-alt:5056;
|
||||||
|
width:119pt'>
|
||||||
|
<col class=xl67 width=62 style='mso-width-source:userset;mso-width-alt:1984;
|
||||||
|
width:47pt'>
|
||||||
|
<col class=xl67 width=64 style='mso-width-source:userset;mso-width-alt:2048;
|
||||||
|
width:48pt'>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 width=88 style='height:12.0pt;mso-ignore:
|
||||||
|
colspan;width:66pt'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt class=font7><EFBFBD>`<60><><EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
<td class=xl67 width=85 style='width:64pt'>order_t</td>
|
||||||
|
<td class=xl67 width=122 style='width:92pt'></td>
|
||||||
|
<td class=xl67 width=81 style='width:61pt'></td>
|
||||||
|
<td class=xl67 width=76 style='width:57pt'></td>
|
||||||
|
<td class=xl67 width=97 style='width:73pt'></td>
|
||||||
|
<td class=xl67 width=82 style='width:62pt'></td>
|
||||||
|
<td class=xl67 width=98 style='width:74pt'></td>
|
||||||
|
<td class=xl67 width=79 style='width:59pt'></td>
|
||||||
|
<td class=xl67 width=113 style='width:85pt'></td>
|
||||||
|
<td class=xl67 width=158 style='width:119pt'></td>
|
||||||
|
<td class=xl67 width=62 style='width:47pt'></td>
|
||||||
|
<td class=xl67 width=64 style='width:48pt'></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl83><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt class=font7><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>`<60><><EFBFBD>E</rt></span></ruby><ruby><EFBFBD>ԍ<EFBFBD><span
|
||||||
|
style='display:none'><rt class=font7><EFBFBD>o<EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>`<60><><EFBFBD>E</rt></span></ruby><ruby><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>r</rt></span></ruby></td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD>ڋq<span style='display:none'><rt><EFBFBD>R<EFBFBD>L<EFBFBD><EFBFBD><EFBFBD>N</rt></span></ruby>ID</td>
|
||||||
|
<td class=xl83 style='border-left:none'><EFBFBD>X<EFBFBD>e<EFBFBD>[<5B>^<5E>X</td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD>x<EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>V<EFBFBD>n<EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD>o<EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font8><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>J</rt></span></ruby><ruby><EFBFBD>\<5C><><EFBFBD><EFBFBD><span style='display:none'><rt
|
||||||
|
class=font8><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>C<EFBFBD>r</rt></span></ruby></td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD>o<EFBFBD>ד<EFBFBD><span style='display:none'><rt
|
||||||
|
class=font8><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>J<EFBFBD>r</rt></span></ruby></td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD>z<EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>n<EFBFBD>C<EFBFBD>\<5C>E</rt></span></ruby><ruby><EFBFBD>Ǝ<EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>M<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>V<EFBFBD><EFBFBD></rt></span></ruby></td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD>ǐ<EFBFBD><span style='display:none'><rt><EFBFBD>c<EFBFBD>C<EFBFBD>Z<EFBFBD>L</rt></span></ruby><ruby><EFBFBD>ԍ<EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>o<EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>g<EFBFBD>E<EFBFBD>`<60><><EFBFBD>N</rt></span></ruby><ruby><EFBFBD>\<5C><><span
|
||||||
|
style='display:none'><rt><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>C</rt></span></ruby><ruby><EFBFBD><EFBFBD><span style='display:
|
||||||
|
none'><rt><EFBFBD>r</rt></span></ruby></td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>_<EFBFBD>C<EFBFBD>r</rt></span></ruby><ruby><EFBFBD>萔<EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>e<EFBFBD>X<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>\<5C>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl83 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD>[<5B>C</rt></span></ruby></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>order_no</td>
|
||||||
|
<td class=xl85 style='border-left:none'>order_date</td>
|
||||||
|
<td class=xl85 style='border-left:none'>user_id</td>
|
||||||
|
<td class=xl85 style='border-left:none'>sts_cd</td>
|
||||||
|
<td class=xl85 style='border-left:none'>pay_div_cd</td>
|
||||||
|
<td class=xl85 style='border-left:none'>deli_exp_date</td>
|
||||||
|
<td class=xl85 style='border-left:none'>deli_date</td>
|
||||||
|
<td class=xl85 style='border-left:none'>deli_company</td>
|
||||||
|
<td class=xl85 style='border-left:none'>tracing_no</td>
|
||||||
|
<td class=xl85 style='border-left:none'>arrive_exp_date</td>
|
||||||
|
<td class=xl85 style='border-left:none'>cash_deli__comm_rate</td>
|
||||||
|
<td class=xl85 style='border-left:none'>postage</td>
|
||||||
|
<td class=xl85 style='border-left:none'>tax_rate</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl84>1</td>
|
||||||
|
<td class=xl84 style='border-left:none'>2014/11/20</td>
|
||||||
|
<td class=xl84 style='border-left:none'>CU00000003</td>
|
||||||
|
<td class=xl84 style='border-left:none'>ST010</td>
|
||||||
|
<td class=xl84 style='border-left:none'>PY002</td>
|
||||||
|
<td class=xl84 style='border-left:none'>2014/11/20</td>
|
||||||
|
<td class=xl84 style='border-left:none'>2014/11/20</td>
|
||||||
|
<td class=xl84 style='border-left:none'><EFBFBD><EFBFBD><EFBFBD>}<7D>g</td>
|
||||||
|
<td class=xl84 style='border-left:none'>xxxxxxxxxxx</td>
|
||||||
|
<td class=xl84 style='border-left:none'>2014/11/21</td>
|
||||||
|
<td class=xl91 style='border-left:none'>0</td>
|
||||||
|
<td class=xl91 style='border-left:none'>1836</td>
|
||||||
|
<td class=xl91 style='border-left:none'>208501</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/11/25</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>CU00000001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ST010</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>PY001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/11/25</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/11/25</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD>}<7D>g</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxxxxxxxxxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/11/26</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>0</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>1836</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>94520</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>3</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/11/30</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>CU00000005</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ST010</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>PY001</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/12/1</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/12/2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD>}<7D>g</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>xxxxxxxxxxx</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>2014/12/3</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>0</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>1836</td>
|
||||||
|
<td class=xl92 style='border-top:none;border-left:none'>108562</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70 style='border-top:none'>4</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>2014/12/2</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>CU00000004</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>ST010</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>PY004</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>2014/12/2</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>2014/12/2</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'><EFBFBD><EFBFBD><EFBFBD>}<7D>g</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>xxxxxxxxxxx</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>2014/12/3</td>
|
||||||
|
<td class=xl93 style='border-top:none;border-left:none'>510</td>
|
||||||
|
<td class=xl93 style='border-top:none;border-left:none'>1836</td>
|
||||||
|
<td class=xl93 style='border-top:none;border-left:none'>103310</td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 colspan=2 style='height:12.0pt;mso-ignore:colspan'><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt class=font8><EFBFBD>`<60><><EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD></rt></span></ruby><ruby><EFBFBD>ڍ<EFBFBD><span
|
||||||
|
style='display:none'><rt class=font8><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>T<EFBFBD>C</rt></span></ruby></td>
|
||||||
|
<td class=xl67>order_detail_t</td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl68><ruby><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span style='display:none'><rt class=font7><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>`<60><><EFBFBD>E</rt></span></ruby><ruby><EFBFBD>ԍ<EFBFBD><span
|
||||||
|
style='display:none'><rt class=font7><EFBFBD>o<EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>i<span style='display:none'><rt><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby>ID</td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><EFBFBD>i<span style='display:none'><rt><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>q<EFBFBD><EFBFBD></rt></span></ruby><ruby><EFBFBD>P<EFBFBD><EFBFBD><span
|
||||||
|
style='display:none'><rt><EFBFBD>^<5E><><EFBFBD>J</rt></span></ruby></td>
|
||||||
|
<td class=xl68 style='border-left:none'><ruby><EFBFBD><EFBFBD><span style='display:none'><rt><EFBFBD>R<EFBFBD>X<EFBFBD>E</rt></span></ruby></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl85>order_no</td>
|
||||||
|
<td class=xl85 style='border-left:none'>goods_id<ruby><font class="font7"><rt
|
||||||
|
class=font7></rt></font></ruby></td>
|
||||||
|
<td class=xl85 style='border-left:none'>goods_unit_price</td>
|
||||||
|
<td class=xl85 style='border-left:none'>goods_num</td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl84>1</td>
|
||||||
|
<td class=xl84 style='border-left:none'>ITM0000002</td>
|
||||||
|
<td class=xl90 align=right style='border-left:none'>12915 </td>
|
||||||
|
<td class=xl90 align=right style='border-left:none'>100 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>1</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000005</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>10952 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>80 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>1</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000003</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>24500 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>1 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>1</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000004</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>3712 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>5 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>1</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000001</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>79110 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>5 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000001</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>79110 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>1 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000002</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>12915 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>50 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000004</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>3712 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>5 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>2</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000005</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>10952 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>40 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>3</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000001</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>79110 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>3 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>3</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000003</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>24500 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>1 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>3</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000005</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>10952 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>100 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>4</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000001</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>79110 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>2 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>4</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000002</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>12915 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>60 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl69 style='border-top:none'>4</td>
|
||||||
|
<td class=xl69 style='border-top:none;border-left:none'>ITM0000004</td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>3712 </td>
|
||||||
|
<td class=xl80 align=right style='border-top:none;border-left:none'>8 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<tr height=16 style='height:12.0pt'>
|
||||||
|
<td height=16 class=xl66 style='height:12.0pt'></td>
|
||||||
|
<td class=xl70 style='border-top:none'>4</td>
|
||||||
|
<td class=xl70 style='border-top:none;border-left:none'>ITM0000005</td>
|
||||||
|
<td class=xl81 align=right style='border-top:none;border-left:none'>10952 </td>
|
||||||
|
<td class=xl81 align=right style='border-top:none;border-left:none'>30 </td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl75></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
<td class=xl67></td>
|
||||||
|
</tr>
|
||||||
|
<![if supportMisalignedColumns]>
|
||||||
|
<tr height=0 style='display:none'>
|
||||||
|
<td width=20 style='width:15pt'></td>
|
||||||
|
<td width=68 style='width:51pt'></td>
|
||||||
|
<td width=85 style='width:64pt'></td>
|
||||||
|
<td width=122 style='width:92pt'></td>
|
||||||
|
<td width=81 style='width:61pt'></td>
|
||||||
|
<td width=76 style='width:57pt'></td>
|
||||||
|
<td width=97 style='width:73pt'></td>
|
||||||
|
<td width=82 style='width:62pt'></td>
|
||||||
|
<td width=98 style='width:74pt'></td>
|
||||||
|
<td width=79 style='width:59pt'></td>
|
||||||
|
<td width=113 style='width:85pt'></td>
|
||||||
|
<td width=158 style='width:119pt'></td>
|
||||||
|
<td width=62 style='width:47pt'></td>
|
||||||
|
<td width=64 style='width:48pt'></td>
|
||||||
|
</tr>
|
||||||
|
<![endif]>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
310
【練習問題】 SQL/Question3/データ定義.files/stylesheet.css
Normal file
@@ -0,0 +1,310 @@
|
|||||||
|
tr
|
||||||
|
{mso-height-source:auto;
|
||||||
|
mso-ruby-visibility:none;}
|
||||||
|
col
|
||||||
|
{mso-width-source:auto;
|
||||||
|
mso-ruby-visibility:none;}
|
||||||
|
br
|
||||||
|
{mso-data-placement:same-cell;}
|
||||||
|
ruby
|
||||||
|
{ruby-align:left;}
|
||||||
|
.style0
|
||||||
|
{mso-number-format:General;
|
||||||
|
text-align:general;
|
||||||
|
vertical-align:middle;
|
||||||
|
white-space:nowrap;
|
||||||
|
mso-rotate:0;
|
||||||
|
mso-background-source:auto;
|
||||||
|
mso-pattern:auto;
|
||||||
|
color:black;
|
||||||
|
font-size:11.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;
|
||||||
|
border:none;
|
||||||
|
mso-protection:locked visible;
|
||||||
|
mso-style-name:<EFBFBD>W<EFBFBD><EFBFBD>;
|
||||||
|
mso-style-id:0;}
|
||||||
|
.font5
|
||||||
|
{color:purple;
|
||||||
|
font-size:11.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;}
|
||||||
|
.font7
|
||||||
|
{color:windowtext;
|
||||||
|
font-size:6.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;}
|
||||||
|
.font8
|
||||||
|
{color:windowtext;
|
||||||
|
font-size:6.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;}
|
||||||
|
td
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
padding-top:1px;
|
||||||
|
padding-right:1px;
|
||||||
|
padding-left:1px;
|
||||||
|
mso-ignore:padding;
|
||||||
|
color:black;
|
||||||
|
font-size:11.0pt;
|
||||||
|
font-weight:400;
|
||||||
|
font-style:normal;
|
||||||
|
text-decoration:none;
|
||||||
|
font-family:"<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N", monospace;
|
||||||
|
mso-font-charset:128;
|
||||||
|
mso-number-format:General;
|
||||||
|
text-align:general;
|
||||||
|
vertical-align:middle;
|
||||||
|
border:none;
|
||||||
|
mso-background-source:auto;
|
||||||
|
mso-pattern:auto;
|
||||||
|
mso-protection:locked visible;
|
||||||
|
white-space:nowrap;
|
||||||
|
mso-rotate:0;}
|
||||||
|
.xl66
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
font-weight:700;
|
||||||
|
mso-number-format:"\@";}
|
||||||
|
.xl67
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"\@";}
|
||||||
|
.xl68
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
font-weight:700;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
text-align:center;
|
||||||
|
border-top:.5pt solid windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:.5pt solid windowtext;
|
||||||
|
background:#D9E1F2;
|
||||||
|
mso-pattern:black none;}
|
||||||
|
.xl69
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl70
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt solid windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl71
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:none;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl72
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:none;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:none;}
|
||||||
|
.xl73
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
font-weight:700;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
text-align:center;
|
||||||
|
border-top:.5pt solid windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:none;
|
||||||
|
background:#D9E1F2;
|
||||||
|
mso-pattern:black none;}
|
||||||
|
.xl74
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"0_ ";}
|
||||||
|
.xl75
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;}
|
||||||
|
.xl76
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"Short Date";
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl77
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"Short Date";
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:none;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl78
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"Short Date";
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt solid windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl79
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:none;
|
||||||
|
border-bottom:.5pt solid windowtext;
|
||||||
|
border-left:none;}
|
||||||
|
.xl80
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"0_ ";
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl81
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"0_ ";
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt solid windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl82
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
font-weight:700;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
text-align:center;
|
||||||
|
border-top:none;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:.5pt solid windowtext;
|
||||||
|
background:#D9E1F2;
|
||||||
|
mso-pattern:black none;}
|
||||||
|
.xl83
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
font-weight:700;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
text-align:center;
|
||||||
|
border-top:.5pt solid windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:none;
|
||||||
|
border-left:.5pt solid windowtext;
|
||||||
|
background:#D9E1F2;
|
||||||
|
mso-pattern:black none;}
|
||||||
|
.xl84
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
border-top:none;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl85
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
font-weight:700;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
text-align:center;
|
||||||
|
border:.5pt solid windowtext;
|
||||||
|
background:#D9E1F2;
|
||||||
|
mso-pattern:black none;}
|
||||||
|
.xl86
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
border-top:none;
|
||||||
|
border-right:none;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:none;}
|
||||||
|
.xl87
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
font-weight:700;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
text-align:center;
|
||||||
|
border-top:.5pt solid windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt solid windowtext;
|
||||||
|
border-left:none;
|
||||||
|
background:#D9E1F2;
|
||||||
|
mso-pattern:black none;}
|
||||||
|
.xl88
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
border-top:none;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt solid windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl89
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"Short Date";
|
||||||
|
border-top:none;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl90
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"0_ ";
|
||||||
|
border-top:none;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl91
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
text-align:right;
|
||||||
|
border-top:none;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl92
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
text-align:right;
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt hairline windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl93
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
text-align:right;
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:.5pt solid windowtext;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
|
.xl94
|
||||||
|
{mso-style-parent:style0;
|
||||||
|
font-size:10.0pt;
|
||||||
|
mso-number-format:"\@";
|
||||||
|
text-align:right;
|
||||||
|
border-top:.5pt hairline windowtext;
|
||||||
|
border-right:.5pt solid windowtext;
|
||||||
|
border-bottom:none;
|
||||||
|
border-left:.5pt solid windowtext;}
|
||||||
38
【練習問題】 SQL/Question3/データ定義.files/tabstrip.htm
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv=Content-Type content="text/html; charset=shift_jis">
|
||||||
|
<meta name=ProgId content=Excel.Sheet>
|
||||||
|
<meta name=Generator content="Microsoft Excel 15">
|
||||||
|
<link id=Main-File rel=Main-File href="../<2F>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.htm">
|
||||||
|
|
||||||
|
<script language="JavaScript">
|
||||||
|
<!--
|
||||||
|
if (window.name!="frTabs")
|
||||||
|
window.location.replace(document.all.item("Main-File").href);
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<style>
|
||||||
|
<!--
|
||||||
|
A {
|
||||||
|
text-decoration:none;
|
||||||
|
color:#000000;
|
||||||
|
font-size:9pt;
|
||||||
|
}
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body topmargin=0 leftmargin=0 bgcolor="#808080">
|
||||||
|
<table border=0 cellspacing=1>
|
||||||
|
<tr>
|
||||||
|
<td bgcolor="#FFFFFF" nowrap><b><small><small> <a href="sheet001.htm" target="frSheet"><font face="<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N" color="#000000"><EFBFBD>e<EFBFBD><EFBFBD><EFBFBD>}<7D>X<EFBFBD>^<5E>f<EFBFBD>[<5B>^</font></a> </small></small></b></td>
|
||||||
|
<td bgcolor="#FFFFFF" nowrap><b><small><small> <a href="sheet002.htm" target="frSheet"><font face="<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N" color="#000000"><EFBFBD>ڋq<EFBFBD>}<7D>X<EFBFBD>^</font></a> </small></small></b></td>
|
||||||
|
<td bgcolor="#FFFFFF" nowrap><b><small><small> <a href="sheet003.htm" target="frSheet"><font face="<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N" color="#000000"><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>}<7D>X<EFBFBD>^</font></a> </small></small></b></td>
|
||||||
|
<td bgcolor="#FFFFFF" nowrap><b><small><small> <a href="sheet004.htm" target="frSheet"><font face="<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N" color="#000000"><EFBFBD>q<EFBFBD>Ƀ}<7D>X<EFBFBD>^</font></a> </small></small></b></td>
|
||||||
|
<td bgcolor="#FFFFFF" nowrap><b><small><small> <a href="sheet005.htm" target="frSheet"><font face="<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N" color="#000000"><EFBFBD>Ƀ}<7D>X<EFBFBD>^</font></a> </small></small></b></td>
|
||||||
|
<td bgcolor="#FFFFFF" nowrap><b><small><small> <a href="sheet006.htm" target="frSheet"><font face="<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N" color="#000000"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font></a> </small></small></b></td>
|
||||||
|
<td bgcolor="#FFFFFF" nowrap><b><small><small> <a href="sheet007.htm" target="frSheet"><font face="<22>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N" color="#000000"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font></a> </small></small></b></td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
361
【練習問題】 SQL/Question3/データ定義.htm
Normal file
@@ -0,0 +1,361 @@
|
|||||||
|
<html xmlns:v="urn:schemas-microsoft-com:vml"
|
||||||
|
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||||
|
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||||
|
xmlns="http://www.w3.org/TR/REC-html40">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta name="Excel Workbook Frameset">
|
||||||
|
<meta http-equiv=Content-Type content="text/html; charset=shift_jis">
|
||||||
|
<meta name=ProgId content=Excel.Sheet>
|
||||||
|
<meta name=Generator content="Microsoft Excel 15">
|
||||||
|
<link rel=File-List href="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/filelist.xml">
|
||||||
|
<![if !supportTabStrip]>
|
||||||
|
<link id="shLink" href="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet001.htm">
|
||||||
|
<link id="shLink" href="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet002.htm">
|
||||||
|
<link id="shLink" href="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet003.htm">
|
||||||
|
<link id="shLink" href="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet004.htm">
|
||||||
|
<link id="shLink" href="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet005.htm">
|
||||||
|
<link id="shLink" href="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet006.htm">
|
||||||
|
<link id="shLink" href="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet007.htm">
|
||||||
|
|
||||||
|
<link id="shLink">
|
||||||
|
|
||||||
|
<script language="JavaScript">
|
||||||
|
<!--
|
||||||
|
var c_lTabs=7;
|
||||||
|
|
||||||
|
var c_rgszSh=new Array(c_lTabs);
|
||||||
|
c_rgszSh[0] = "<22>e<EFBFBD><65><EFBFBD>}<7D>X<EFBFBD>^<5E>f<EFBFBD>[<5B>^";
|
||||||
|
c_rgszSh[1] = "<22>ڋq<DA8B>}<7D>X<EFBFBD>^";
|
||||||
|
c_rgszSh[2] = "<22><><EFBFBD>i<EFBFBD>}<7D>X<EFBFBD>^";
|
||||||
|
c_rgszSh[3] = "<22>q<EFBFBD>Ƀ}<7D>X<EFBFBD>^";
|
||||||
|
c_rgszSh[4] = "<22>Ƀ}<7D>X<EFBFBD>^";
|
||||||
|
c_rgszSh[5] = "<22><><EFBFBD><EFBFBD>";
|
||||||
|
c_rgszSh[6] = "<22><><EFBFBD><EFBFBD>";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var c_rgszClr=new Array(8);
|
||||||
|
c_rgszClr[0]="window";
|
||||||
|
c_rgszClr[1]="buttonface";
|
||||||
|
c_rgszClr[2]="windowframe";
|
||||||
|
c_rgszClr[3]="windowtext";
|
||||||
|
c_rgszClr[4]="threedlightshadow";
|
||||||
|
c_rgszClr[5]="threedhighlight";
|
||||||
|
c_rgszClr[6]="threeddarkshadow";
|
||||||
|
c_rgszClr[7]="threedshadow";
|
||||||
|
|
||||||
|
var g_iShCur;
|
||||||
|
var g_rglTabX=new Array(c_lTabs);
|
||||||
|
|
||||||
|
function fnGetIEVer()
|
||||||
|
{
|
||||||
|
var ua=window.navigator.userAgent
|
||||||
|
var msie=ua.indexOf("MSIE")
|
||||||
|
if (msie>0 && window.navigator.platform=="Win32")
|
||||||
|
return parseInt(ua.substring(msie+5,ua.indexOf(".", msie)));
|
||||||
|
else
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnBuildFrameset()
|
||||||
|
{
|
||||||
|
var szHTML="<frameset rows=\"*,18\" border=0 width=0 frameborder=no framespacing=0>"+
|
||||||
|
"<frame src=\""+document.all.item("shLink")[6].href+"\" name=\"frSheet\" noresize>"+
|
||||||
|
"<frameset cols=\"54,*\" border=0 width=0 frameborder=no framespacing=0>"+
|
||||||
|
"<frame src=\"\" name=\"frScroll\" marginwidth=0 marginheight=0 scrolling=no>"+
|
||||||
|
"<frame src=\"\" name=\"frTabs\" marginwidth=0 marginheight=0 scrolling=no>"+
|
||||||
|
"</frameset></frameset><plaintext>";
|
||||||
|
|
||||||
|
with (document) {
|
||||||
|
open("text/html","replace");
|
||||||
|
write(szHTML);
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
|
||||||
|
fnBuildTabStrip();
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnBuildTabStrip()
|
||||||
|
{
|
||||||
|
var szHTML=
|
||||||
|
"<html><head><style>.clScroll {font:8pt Courier New;color:"+c_rgszClr[6]+";cursor:default;line-height:10pt;}"+
|
||||||
|
".clScroll2 {font:10pt Arial;color:"+c_rgszClr[6]+";cursor:default;line-height:11pt;}</style></head>"+
|
||||||
|
"<body onclick=\"event.returnValue=false;\" ondragstart=\"event.returnValue=false;\" onselectstart=\"event.returnValue=false;\" bgcolor="+c_rgszClr[4]+" topmargin=0 leftmargin=0><table cellpadding=0 cellspacing=0 width=100%>"+
|
||||||
|
"<tr><td colspan=6 height=1 bgcolor="+c_rgszClr[2]+"></td></tr>"+
|
||||||
|
"<tr><td style=\"font:1pt\"> <td>"+
|
||||||
|
"<td valign=top id=tdScroll class=\"clScroll\" onclick=\"parent.fnFastScrollTabs(0);\" onmouseover=\"parent.fnMouseOverScroll(0);\" onmouseout=\"parent.fnMouseOutScroll(0);\"><a>«</a></td>"+
|
||||||
|
"<td valign=top id=tdScroll class=\"clScroll2\" onclick=\"parent.fnScrollTabs(0);\" ondblclick=\"parent.fnScrollTabs(0);\" onmouseover=\"parent.fnMouseOverScroll(1);\" onmouseout=\"parent.fnMouseOutScroll(1);\"><a><</a></td>"+
|
||||||
|
"<td valign=top id=tdScroll class=\"clScroll2\" onclick=\"parent.fnScrollTabs(1);\" ondblclick=\"parent.fnScrollTabs(1);\" onmouseover=\"parent.fnMouseOverScroll(2);\" onmouseout=\"parent.fnMouseOutScroll(2);\"><a>></a></td>"+
|
||||||
|
"<td valign=top id=tdScroll class=\"clScroll\" onclick=\"parent.fnFastScrollTabs(1);\" onmouseover=\"parent.fnMouseOverScroll(3);\" onmouseout=\"parent.fnMouseOutScroll(3);\"><a>»</a></td>"+
|
||||||
|
"<td style=\"font:1pt\"> <td></tr></table></body></html>";
|
||||||
|
|
||||||
|
with (frames['frScroll'].document) {
|
||||||
|
open("text/html","replace");
|
||||||
|
write(szHTML);
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
|
||||||
|
szHTML =
|
||||||
|
"<html><head>"+
|
||||||
|
"<style>A:link,A:visited,A:active {text-decoration:none;"+"color:"+c_rgszClr[3]+";}"+
|
||||||
|
".clTab {cursor:hand;background:"+c_rgszClr[1]+";font:9pt <20>l<EFBFBD>r <20>o<EFBFBD>S<EFBFBD>V<EFBFBD>b<EFBFBD>N;padding-left:3px;padding-right:3px;text-align:center;}"+
|
||||||
|
".clBorder {background:"+c_rgszClr[2]+";font:1pt;}"+
|
||||||
|
"</style></head><body onload=\"parent.fnInit();\" onselectstart=\"event.returnValue=false;\" ondragstart=\"event.returnValue=false;\" bgcolor="+c_rgszClr[4]+
|
||||||
|
" topmargin=0 leftmargin=0><table id=tbTabs cellpadding=0 cellspacing=0>";
|
||||||
|
|
||||||
|
var iCellCount=(c_lTabs+1)*2;
|
||||||
|
|
||||||
|
var i;
|
||||||
|
for (i=0;i<iCellCount;i+=2)
|
||||||
|
szHTML+="<col width=1><col>";
|
||||||
|
|
||||||
|
var iRow;
|
||||||
|
for (iRow=0;iRow<6;iRow++) {
|
||||||
|
|
||||||
|
szHTML+="<tr>";
|
||||||
|
|
||||||
|
if (iRow==5)
|
||||||
|
szHTML+="<td colspan="+iCellCount+"></td>";
|
||||||
|
else {
|
||||||
|
if (iRow==0) {
|
||||||
|
for(i=0;i<iCellCount;i++)
|
||||||
|
szHTML+="<td height=1 class=\"clBorder\"></td>";
|
||||||
|
} else if (iRow==1) {
|
||||||
|
for(i=0;i<c_lTabs;i++) {
|
||||||
|
szHTML+="<td height=1 nowrap class=\"clBorder\"> </td>";
|
||||||
|
szHTML+=
|
||||||
|
"<td id=tdTab height=1 nowrap class=\"clTab\" onmouseover=\"parent.fnMouseOverTab("+i+");\" onmouseout=\"parent.fnMouseOutTab("+i+");\">"+
|
||||||
|
"<a href=\""+document.all.item("shLink")[i].href+"\" target=\"frSheet\" id=aTab> "+c_rgszSh[i]+" </a></td>";
|
||||||
|
}
|
||||||
|
szHTML+="<td id=tdTab height=1 nowrap class=\"clBorder\"><a id=aTab> </a></td><td width=100%></td>";
|
||||||
|
} else if (iRow==2) {
|
||||||
|
for (i=0;i<c_lTabs;i++)
|
||||||
|
szHTML+="<td height=1></td><td height=1 class=\"clBorder\"></td>";
|
||||||
|
szHTML+="<td height=1></td><td height=1></td>";
|
||||||
|
} else if (iRow==3) {
|
||||||
|
for (i=0;i<iCellCount;i++)
|
||||||
|
szHTML+="<td height=1></td>";
|
||||||
|
} else if (iRow==4) {
|
||||||
|
for (i=0;i<c_lTabs;i++)
|
||||||
|
szHTML+="<td height=1 width=1></td><td height=1></td>";
|
||||||
|
szHTML+="<td height=1 width=1></td><td></td>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
szHTML+="</tr>";
|
||||||
|
}
|
||||||
|
|
||||||
|
szHTML+="</table></body></html>";
|
||||||
|
with (frames['frTabs'].document) {
|
||||||
|
open("text/html","replace");
|
||||||
|
charset=document.charset;
|
||||||
|
write(szHTML);
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnInit()
|
||||||
|
{
|
||||||
|
g_rglTabX[0]=0;
|
||||||
|
var i;
|
||||||
|
for (i=1;i<=c_lTabs;i++)
|
||||||
|
with (frames['frTabs'].document.all.tbTabs.rows[1].cells[fnTabToCol(i-1)])
|
||||||
|
g_rglTabX[i]=offsetLeft+offsetWidth-6;
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnTabToCol(iTab)
|
||||||
|
{
|
||||||
|
return 2*iTab+1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnNextTab(fDir)
|
||||||
|
{
|
||||||
|
var iNextTab=-1;
|
||||||
|
var i;
|
||||||
|
|
||||||
|
with (frames['frTabs'].document.body) {
|
||||||
|
if (fDir==0) {
|
||||||
|
if (scrollLeft>0) {
|
||||||
|
for (i=0;i<c_lTabs&&g_rglTabX[i]<scrollLeft;i++);
|
||||||
|
if (i<c_lTabs)
|
||||||
|
iNextTab=i-1;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (g_rglTabX[c_lTabs]+6>offsetWidth+scrollLeft) {
|
||||||
|
for (i=0;i<c_lTabs&&g_rglTabX[i]<=scrollLeft;i++);
|
||||||
|
if (i<c_lTabs)
|
||||||
|
iNextTab=i;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return iNextTab;
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnScrollTabs(fDir)
|
||||||
|
{
|
||||||
|
var iNextTab=fnNextTab(fDir);
|
||||||
|
|
||||||
|
if (iNextTab>=0) {
|
||||||
|
frames['frTabs'].scroll(g_rglTabX[iNextTab],0);
|
||||||
|
return true;
|
||||||
|
} else
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnFastScrollTabs(fDir)
|
||||||
|
{
|
||||||
|
if (c_lTabs>16)
|
||||||
|
frames['frTabs'].scroll(g_rglTabX[fDir?c_lTabs-1:0],0);
|
||||||
|
else
|
||||||
|
if (fnScrollTabs(fDir)>0) window.setTimeout("fnFastScrollTabs("+fDir+");",5);
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnSetTabProps(iTab,fActive)
|
||||||
|
{
|
||||||
|
var iCol=fnTabToCol(iTab);
|
||||||
|
var i;
|
||||||
|
|
||||||
|
if (iTab>=0) {
|
||||||
|
with (frames['frTabs'].document.all) {
|
||||||
|
with (tbTabs) {
|
||||||
|
for (i=0;i<=4;i++) {
|
||||||
|
with (rows[i]) {
|
||||||
|
if (i==0)
|
||||||
|
cells[iCol].style.background=c_rgszClr[fActive?0:2];
|
||||||
|
else if (i>0 && i<4) {
|
||||||
|
if (fActive) {
|
||||||
|
cells[iCol-1].style.background=c_rgszClr[2];
|
||||||
|
cells[iCol].style.background=c_rgszClr[0];
|
||||||
|
cells[iCol+1].style.background=c_rgszClr[2];
|
||||||
|
} else {
|
||||||
|
if (i==1) {
|
||||||
|
cells[iCol-1].style.background=c_rgszClr[2];
|
||||||
|
cells[iCol].style.background=c_rgszClr[1];
|
||||||
|
cells[iCol+1].style.background=c_rgszClr[2];
|
||||||
|
} else {
|
||||||
|
cells[iCol-1].style.background=c_rgszClr[4];
|
||||||
|
cells[iCol].style.background=c_rgszClr[(i==2)?2:4];
|
||||||
|
cells[iCol+1].style.background=c_rgszClr[4];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else
|
||||||
|
cells[iCol].style.background=c_rgszClr[fActive?2:4];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
with (aTab[iTab].style) {
|
||||||
|
cursor=(fActive?"default":"hand");
|
||||||
|
color=c_rgszClr[3];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnMouseOverScroll(iCtl)
|
||||||
|
{
|
||||||
|
frames['frScroll'].document.all.tdScroll[iCtl].style.color=c_rgszClr[7];
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnMouseOutScroll(iCtl)
|
||||||
|
{
|
||||||
|
frames['frScroll'].document.all.tdScroll[iCtl].style.color=c_rgszClr[6];
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnMouseOverTab(iTab)
|
||||||
|
{
|
||||||
|
if (iTab!=g_iShCur) {
|
||||||
|
var iCol=fnTabToCol(iTab);
|
||||||
|
with (frames['frTabs'].document.all) {
|
||||||
|
tdTab[iTab].style.background=c_rgszClr[5];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnMouseOutTab(iTab)
|
||||||
|
{
|
||||||
|
if (iTab>=0) {
|
||||||
|
var elFrom=frames['frTabs'].event.srcElement;
|
||||||
|
var elTo=frames['frTabs'].event.toElement;
|
||||||
|
|
||||||
|
if ((!elTo) ||
|
||||||
|
(elFrom.tagName==elTo.tagName) ||
|
||||||
|
(elTo.tagName=="A" && elTo.parentElement!=elFrom) ||
|
||||||
|
(elFrom.tagName=="A" && elFrom.parentElement!=elTo)) {
|
||||||
|
|
||||||
|
if (iTab!=g_iShCur) {
|
||||||
|
with (frames['frTabs'].document.all) {
|
||||||
|
tdTab[iTab].style.background=c_rgszClr[1];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function fnSetActiveSheet(iSh)
|
||||||
|
{
|
||||||
|
if (iSh!=g_iShCur) {
|
||||||
|
fnSetTabProps(g_iShCur,false);
|
||||||
|
fnSetTabProps(iSh,true);
|
||||||
|
g_iShCur=iSh;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.g_iIEVer=fnGetIEVer();
|
||||||
|
if (window.g_iIEVer>=4)
|
||||||
|
fnBuildFrameset();
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<![endif]><!--[if gte mso 9]><xml>
|
||||||
|
<x:ExcelWorkbook>
|
||||||
|
<x:ExcelWorksheets>
|
||||||
|
<x:ExcelWorksheet>
|
||||||
|
<x:Name><3E>e<EFBFBD><65><EFBFBD>}<7D>X<EFBFBD>^<5E>f<EFBFBD>[<5B>^</x:Name>
|
||||||
|
<x:WorksheetSource HRef="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet001.htm"/>
|
||||||
|
</x:ExcelWorksheet>
|
||||||
|
<x:ExcelWorksheet>
|
||||||
|
<x:Name><3E>ڋq<DA8B>}<7D>X<EFBFBD>^</x:Name>
|
||||||
|
<x:WorksheetSource HRef="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet002.htm"/>
|
||||||
|
</x:ExcelWorksheet>
|
||||||
|
<x:ExcelWorksheet>
|
||||||
|
<x:Name><3E><><EFBFBD>i<EFBFBD>}<7D>X<EFBFBD>^</x:Name>
|
||||||
|
<x:WorksheetSource HRef="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet003.htm"/>
|
||||||
|
</x:ExcelWorksheet>
|
||||||
|
<x:ExcelWorksheet>
|
||||||
|
<x:Name><3E>q<EFBFBD>Ƀ}<7D>X<EFBFBD>^</x:Name>
|
||||||
|
<x:WorksheetSource HRef="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet004.htm"/>
|
||||||
|
</x:ExcelWorksheet>
|
||||||
|
<x:ExcelWorksheet>
|
||||||
|
<x:Name><3E>Ƀ}<7D>X<EFBFBD>^</x:Name>
|
||||||
|
<x:WorksheetSource HRef="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet005.htm"/>
|
||||||
|
</x:ExcelWorksheet>
|
||||||
|
<x:ExcelWorksheet>
|
||||||
|
<x:Name><3E><><EFBFBD><EFBFBD></x:Name>
|
||||||
|
<x:WorksheetSource HRef="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet006.htm"/>
|
||||||
|
</x:ExcelWorksheet>
|
||||||
|
<x:ExcelWorksheet>
|
||||||
|
<x:Name><3E><><EFBFBD><EFBFBD></x:Name>
|
||||||
|
<x:WorksheetSource HRef="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet007.htm"/>
|
||||||
|
</x:ExcelWorksheet>
|
||||||
|
</x:ExcelWorksheets>
|
||||||
|
<x:Stylesheet HRef="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/stylesheet.css"/>
|
||||||
|
<x:WindowHeight>11160</x:WindowHeight>
|
||||||
|
<x:WindowWidth>20730</x:WindowWidth>
|
||||||
|
<x:WindowTopX>32767</x:WindowTopX>
|
||||||
|
<x:WindowTopY>32767</x:WindowTopY>
|
||||||
|
<x:ActiveSheet>6</x:ActiveSheet>
|
||||||
|
<x:ProtectStructure>False</x:ProtectStructure>
|
||||||
|
<x:ProtectWindows>False</x:ProtectWindows>
|
||||||
|
</x:ExcelWorkbook>
|
||||||
|
</xml><![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<frameset rows="*,39" border=0 width=0 frameborder=no framespacing=0>
|
||||||
|
<frame src="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/sheet007.htm" name="frSheet">
|
||||||
|
<frame src="<22>f<EFBFBD>[<5B>^<5E><><EFBFBD>`.files/tabstrip.htm" name="frTabs" marginwidth=0 marginheight=0>
|
||||||
|
<noframes>
|
||||||
|
<body>
|
||||||
|
<p><EFBFBD><EFBFBD><EFBFBD>̃y<EFBFBD>[<5B>W<EFBFBD>Ŏg<C58E>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD>[<5B><><EFBFBD>́A<CD81><41><EFBFBD>g<EFBFBD><67><EFBFBD>̃u<CC83><75><EFBFBD>E<EFBFBD>U<EFBFBD>[<5B>ł̓T<CD83>|<7C>[<5B>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</p>
|
||||||
|
</body>
|
||||||
|
</noframes>
|
||||||
|
</frameset>
|
||||||
|
</html>
|
||||||
BIN
【練習問題】 SQL/Question3/データ定義.xlsx
Normal file
BIN
【練習問題】 SQL/img/question1/図1.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
【練習問題】 SQL/img/question1/図2.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
【練習問題】 SQL/img/question1/図3.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
【練習問題】 SQL/img/question1/図4.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
【練習問題】 SQL/img/question1/図5.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
【練習問題】 SQL/img/question1/図6.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
【練習問題】 SQL/img/question2/+α/図1.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
【練習問題】 SQL/img/question2/+α/図10.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
【練習問題】 SQL/img/question2/+α/図2.png
Normal file
|
After Width: | Height: | Size: 146 KiB |
BIN
【練習問題】 SQL/img/question2/+α/図3.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
【練習問題】 SQL/img/question2/+α/図4.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
【練習問題】 SQL/img/question2/+α/図5.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
【練習問題】 SQL/img/question2/+α/図6.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
【練習問題】 SQL/img/question2/+α/図7.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
BIN
【練習問題】 SQL/img/question2/+α/図8.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
【練習問題】 SQL/img/question2/+α/図9.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
【練習問題】 SQL/img/question2/図1.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
【練習問題】 SQL/img/question2/図2.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
【練習問題】 SQL/img/question2/図3.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
【練習問題】 SQL/img/question2/図4.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
【練習問題】 SQL/img/question2/図5.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
【練習問題】 SQL/img/question2/図6.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
【練習問題】 SQL/img/question2/図7.png
Normal file
|
After Width: | Height: | Size: 655 B |
BIN
【練習問題】 SQL/img/question2/図8.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
【練習問題】 SQL/img/question2/図9.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
20
【練習問題】 権限設定/【練習問題】MySQL権限設定.txt
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# MySQL<51><4C><EFBFBD><EFBFBD><EFBFBD>ݒ<EFBFBD>
|
||||||
|
|
||||||
|
## <20>ړI
|
||||||
|
* MySQL<51>̌<EFBFBD><CC8C><EFBFBD><EFBFBD>ݒ<EFBFBD><DD92>ɂ<C982><C282>Ċw<C48A><77>
|
||||||
|
* MySQL<51>̃<EFBFBD><CC83>X<EFBFBD>g<EFBFBD>A<EFBFBD>Ɋ<EFBFBD><C98A><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
|
## <20><><EFBFBD><EFBFBD>
|
||||||
|
* <20>ȉ<EFBFBD><C889>̓<EFBFBD><CC93>e<EFBFBD>ɂ<C982><C282>āA<C481>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>镔<EFBFBD><E99594><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߂<EFBFBD><DF82>ݒ肵<DD92>A<EFBFBD><41><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>悤<EFBFBD>ɂ<EFBFBD><C982><EFBFBD>
|
||||||
|
1. MySQL<51>ŁA<C581><41><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD>p<EFBFBD>̃f<CC83>[<5B>^<5E>x<EFBFBD>[<5B>X<EFBFBD>A<EFBFBD><41><EFBFBD>[<5B>U<EFBFBD><55><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
|
mysql> CREATE DATABASE restoredb;
|
||||||
|
mysql> CREATE USER 'restore'@'______' IDENTIFIED BY '<<3C>p<EFBFBD>X<EFBFBD><58><EFBFBD>[<5B>h>';
|
||||||
|
mysql> GRANT CREATE,DROP ON ______.* TO 'restore'@'______';
|
||||||
|
mysql> \q
|
||||||
|
|
||||||
|
2. Windows<77><73><EFBFBD><EFBFBD>MySQL<51>ɑ<C991><CE82>A<EFBFBD><41><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
|
C:\Users\Owner> mysql -u ______ -p ______ < <<3C><><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD>p<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̃p<CC83>X>
|
||||||
|
|
||||||
|
3. <20><><EFBFBD>X<EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD>s<EFBFBD><73><EFBFBD>ɕ\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>G<EFBFBD><47><EFBFBD>[<5B><><EFBFBD>b<EFBFBD>Z<EFBFBD>[<5B>W<EFBFBD><57><EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>A<EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>ݒ<EFBFBD><DD92><EFBFBD>restore<72><65><EFBFBD>[<5B>U<EFBFBD>ɑ<C991><CE82>Ď<EFBFBD><C48E>{<7B><><EFBFBD><EFBFBD>
|
||||||
25
【練習問題】ストアドプロシージャ/01-ProcTraining.sql
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
DELIMITER //
|
||||||
|
/*
|
||||||
|
**********************************************
|
||||||
|
【Question】
|
||||||
|
以下のプロシージャをMySQLに登録、プロシージャの実行をしてください。
|
||||||
|
その後、プロシージャを削除してください。
|
||||||
|
|
||||||
|
***********************************************
|
||||||
|
*/
|
||||||
|
|
||||||
|
DROP PROCEDURE IF EXISTS emp_info;
|
||||||
|
CREATE PROCEDURE emp_info()
|
||||||
|
BEGIN
|
||||||
|
# 検索処理
|
||||||
|
SELECT
|
||||||
|
employee.*
|
||||||
|
,department.nm_department
|
||||||
|
FROM
|
||||||
|
employee inner join department
|
||||||
|
ON employee.id_department = department.id_department
|
||||||
|
;
|
||||||
|
END;
|
||||||
|
//
|
||||||
|
---------------------
|
||||||
|
|
||||||
15
【練習問題】ストアドプロシージャ/02-ProcTraining.sql
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
DELIMITER //
|
||||||
|
/*
|
||||||
|
**********************************************
|
||||||
|
【Question】
|
||||||
|
問1で作成したプロシージャの改修を行なってください。
|
||||||
|
仕様は以下の通りです
|
||||||
|
|
||||||
|
- プロシージャを実行する際に値(名前)を指定できるようにしたい
|
||||||
|
- その名前の部分一致検索で情報を取得できるようにしたい
|
||||||
|
|
||||||
|
***********************************************
|
||||||
|
*/
|
||||||
|
|
||||||
|
END;
|
||||||
|
//
|
||||||
14
【練習問題】ストアドプロシージャ/03-ProcTraining.sql
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
DELIMITER //
|
||||||
|
/*
|
||||||
|
**********************************************
|
||||||
|
【Question】
|
||||||
|
02で作成したプロシージャの仕様追加を行なってください。
|
||||||
|
仕様は以下の通り
|
||||||
|
|
||||||
|
- 呼び出し時の引数がnullだった場合は全件検索を行う
|
||||||
|
|
||||||
|
***********************************************
|
||||||
|
*/
|
||||||
|
|
||||||
|
END;
|
||||||
|
//
|
||||||
42
【練習問題】ストアドプロシージャ/04-ProcTraining.sql
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
DELIMITER //
|
||||||
|
/*
|
||||||
|
**********************************************
|
||||||
|
【Question】
|
||||||
|
以下のSQLは社員IDの欠番を一時テーブルに登録するプロシージャの作成途中です。
|
||||||
|
以下のルールに従ってプロシージャを完成させてください。
|
||||||
|
|
||||||
|
例)
|
||||||
|
10000 山田
|
||||||
|
10001 髙橋
|
||||||
|
10004 佐藤
|
||||||
|
|
||||||
|
となっていた場合は、欠番は
|
||||||
|
10002, 10003
|
||||||
|
となる
|
||||||
|
***********************************************
|
||||||
|
*/
|
||||||
|
|
||||||
|
DROP PROCEDURE IF EXISTS search_missing_num;
|
||||||
|
CREATE PROCEDURE search_missing_num()
|
||||||
|
BEGIN
|
||||||
|
# 変数の定義
|
||||||
|
# 現在登録されているIDを取得するカーソルを定義する
|
||||||
|
DECLARE empIdCursor CURSOR FOR
|
||||||
|
SELECT id_employee FROM employee ORDER BY id_employee;
|
||||||
|
|
||||||
|
# 欠番IDを保管しておく一時テーブルを作成する
|
||||||
|
DROP TABLE IF EXISTS tmpTable;
|
||||||
|
CREATE TABLE tmpTable (missingId INT PRIMARY KEY);
|
||||||
|
|
||||||
|
# カーソルをオープンする
|
||||||
|
|
||||||
|
# 登録されているID一覧を1レコードづつ読み込む
|
||||||
|
|
||||||
|
# 最初の1行以外であった場合は、現在処理中のIDがプールされているIDの+1かどうかを判定
|
||||||
|
|
||||||
|
# カーソルのクローズ
|
||||||
|
|
||||||
|
# ここまででコミット
|
||||||
|
COMMIT;
|
||||||
|
END;
|
||||||
|
//
|
||||||