Gray [6] cross tabulation CUBE, ROLL UP Johnson [7] pivoting SQL 3. SuperSQL SuperSQL SuperSQL SQL [1] [2] SQL SELECT GENERATE <media> <TFE> GENER- AT

Similar documents
, [! [, ]! ]!,,., ([ ],). : [Name], name1 name2 name10 ([ ]!). name1 name2 : [Name]! name SuperSQL,,,,,,, < < > } =.,

([ ]!) name1 name2 : [Name]! name SuperSQL,,,,,,, (@) < >@{ < > } =,,., 200,., TFE,, 1 2.,, 4, 3.,,,, Web EGG [5] SSVisual [6], Java SSedit( ss

[1] [3]. SQL SELECT GENERATE< media >< T F E > GENERATE. < media > HTML PDF < T F E > Target Form Expression ( ), 3.. (,). : Name, Tel name tel

([ ],), : [Name], name1 name2 name10 4, 2 SuperSQL, ([ ]!), name1 name2 : [Name]! name SuperSQL,,,,,,, < < > } =,

. ([ ],) : [Name] name1 name2 name10 ([ ]!). name1 name2 : [Name]! name (@) < >@{ < > } = [employee.name@{width=200 color=red}]! l

DEIM Forum 2019 H2-2 SuperSQL SuperSQL SQL SuperSQL Web SuperSQL DBMS Pi

: Name, Tel name tel (! ) name : Name! Tel tel ( % ) 3. HTML. : Name % Tel name tel 2. 2,., [ ]!, [ ]!, [ ]!,. [! [, ]! ]!,,. ( [ ], ),. : [Name], nam

3 3.1 SSedit ua012345% ssedit SuperSQL config.ssql log.txt( logs.txt) SSedit SSedit 3.2 ssql Putty SSedit ua012345% ssql HTML /public html/ssql.ssql 4

/var/lib/sharelatex/data/compiles/5b35c6e168aeba3d a72a7acd11f6ba07fbbff68/output.dvi

, HTML HTML PHP, 3. SuperSQL SuperSQL [1] [2], SQL, SQL SELECT GENERATE <media> <TFE> GENERATE <media>, HTML XML, PDF <TFE> Target Form Expression,, 3

2.3 ssqltool (3.1 ) postgresql (ua ) itc.db.ics.keio.ac.jp /public html/ssql SuperSQL HTML /public html/ssql /ssql/xxxx.

3 3.1 SSedit ua012345% ssedit SuperSQL config.ssql log.txt( logs.txt) SSedit SSedit 3.2 ssql Putty SSedit ua012345% ssql HTML /public html/ssql.ssql 4

1 SuperSQL web HTML, SuperSQL PHP. SuperSQL, 1, XML, JavaScript SuperSQL web,, web Web Web, PHP [7], Ruby [8], Perl [9].,,,. Web,, HT

DEIM Forum 2013 B5-2 RMX RMX RMX $, RMX Implementation of the E-m

"-./0%. "-%!"#$#% $%&'(%)*+,%.!"#+$,$% &'()*% $%&'-(.(/%+,% $%&'0%12*+,'% 1 RMX.. grade gradetype= integer grade[

/var/lib/sharelatex/data/compiles/5a535643d11f6ba07fbbfa d68ddec3e /output.dvi

Wiki Wiki Wiki...

IPSJ SIG Technical Report Vol.2014-DBS-159 No.6 Vol.2014-IFAT-115 No /8/1 1,a) 1 1 1,, 1. ([1]) ([2], [3]) A B 1 ([4]) 1 Graduate School of Info

DVIOUT

NetIQ White Paper

Vol.55 No (Jan. 2014) saccess 6 saccess 7 saccess 2. [3] p.33 * B (A) (B) (C) (D) (E) (F) *1 [3], [4] Web PDF a m

3 Powered by mod_perl, Apache & MySQL use Item; my $item = Item->new( id => 1, name => ' ', price => 1200,

43_09.dvi


com.ibm.etools.egl.jsfsearch.tutorial.doc.ps

Ducky 1. GUI, Web, Web URL,, 2., CSS ( ), xml, json, csv,,, Web DB HTML id class, class,. com, div unit,, CSS CSS, Web, Web, JavaScript

Łñ“’‘‚2004

プリント


Warehouse Builderにおける予測分析の使用

2

Excelfl—‘ãŁª’Í-flO“Z

hands_on_4.PDF

Microsoft Word - toyoshima-deim2011.doc

CodeIgniter Con 2011, Tokyo Japan, February

paper.pdf

ii

1 SQL Server SQL Oracle SQL SQL* Plus PL/SQL 2 SQL Server SQL Server SQL Oracle SQL SQL*Plus SQL Server GUI 1-1 osql 1-1 Transact- SQL SELECTFROM 058

122.pdf

GUI(Graphical User Interface) GUI CLI(Command Line Interface) GUI

JavaScript の使い方

Microsoft Word - PHP_SQLServer2012

ii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web

コンピュータ概論

2009 Web B012-1

22 (266) / Web PF-Web Web Web Web / Web Web PF-Web Web Web Web CGI Web Web 1 Web PF-Web Web Perl C CGI A Pipe/Filter Architecture Based Software Gener


javascript key

1. A0 A B A0 A : A1,...,A5 B : B1,...,B

情報の構造とデータ処理

1 1(a) MPR 1(b) MPR MPR MPR MPR MPR 2 1 MPR MPR MPR A MPR B MPR 2 MPR MPR MPR MPR MPR GPS MPR MPR MPR 3. MPR MPR 2 MPR 2 (1) (4) Zai

橡実践Oracle Objects for OLE

,, WIX. 3. Web Index 3. 1 WIX WIX XML URL, 1., keyword, URL target., WIX, header,, WIX. 1 entry keyword 1 target 1 keyword target., entry, 1 1. WIX [2

"CAS を利用した Single Sign On 環境の構築"

Oracle Lite Tutorial

(a) (b) 1 beach 1 Tag Number of phogoraphs beach 2,488,923 sea 1,689,924 coastline 60,245 shoreline 47,114 2 Tag Average error [m] beach 7, sea


Ver.1 1/17/2003 2

Oracle Lite Tutorial

: ORDER BY

untitled

2 2 ( M2) ( )

untitled

tkk0408nari


B 20 Web

IPSJ SIG Technical Report Vol.2009-HCI-134 No /7/17 1. RDB Wiki Wiki RDB SQL Wiki Wiki RDB Wiki RDB Wiki A Wiki System Enhanced by Visibl

Input image Initialize variables Loop for period of oscillation Update height map Make shade image Change property of image Output image Change time L

32

1 SHIMURA Masato polynomial irr.xirr EXCEL irr

compiler-text.dvi

1,.,,,., RDBM, SQL. OSS,, SQL,,.

CAC

Oracle Database 10gのOLAP Option


XJTAG

要旨 : データステップ及び SGPLOT プロシジャにおける POLYGON/TEXT ステートメントを利用した SAS プログラムステップフローチャートを生成する SAS プログラムを紹介する キーワード :SGPLOT, フローチャート, 可視化 2

橡t15-shibuya.kashiwa.ppt

p...{..P01-48(TF)

Contents Logging in 3-14 Downloading files from e-ijlp 15 Submitting files on e-ijlp Sending messages to instructors Setting up automatic

10 (1) s 10.2 rails c Rails 7 > item = PlanItem.new => #<PlanItem id nil, name nil,...> > item.name = "" => "" > item.valid? => true valid? true false

ODS GRAPHICS ON; ODS GRAPHICS ON; PROC TTEST DATA=SASHELP.CLASS SIDE=2 DIST=NORMAL H0=58 PLOTS(ONLY SHOWH0)=(SUMMARY); VAR HEIGHT;


独立行政法人情報通信研究機構 Development of the Information Analysis System WISDOM KIDAWARA Yutaka NICT Knowledge Clustered Group researched and developed the infor

,,, Twitter,,, ( ), 2. [1],,, ( ),,.,, Sungho Jeon [2], Twitter 4 URL, SVM,, , , URL F., SVM,, 4 SVM, F,.,,,,, [3], 1 [2] Step Entered

An Interactive Visualization System of Human Network for Multi-User Hiroki Akehata 11N F



A/B (2010/10/08) Ver kurino/2010/soft/soft.html A/B

フカシギおねえさん問題の高速計算アルゴリズム

DEIM Forum 2010 A Web Abstract Classification Method for Revie

2reN-A14.dvi

1 BrainPad Inc.) KN6F ,375, ASP EC NHN Japan SAS Institute Japan BB 50 BrainPad Inc , All rights reserved. 1

2 1/2 1/4 x 1 x 2 x 1, x 2 9 3x 1 + 2x 2 9 (1.1) 1/3 RDA 1 15 x /4 RDA 1 6 x /6 1 x 1 3 x 2 15 x (1.2) (1.3) (1.4) 1 2 (1.5) x 1


Vol. 42 No. SIG 8(TOD 10) July HTML 100 Development of Authoring and Delivery System for Synchronized Contents and Experiment on High Spe

和文タイトル

IPSJ SIG Technical Report Vol.2014-GN-90 No.16 Vol.2014-CDS-9 No.16 Vol.2014-DCC-6 No /1/24 1,a) 2,b) 2,c) 1,d) QUMARION QUMARION Kinect Kinect

untitled

[1] Excel Excel... [3]. CSV RDF. [4] LinkedData. [5] LinkedData 1 RDF. OLAP. OLAP. [6] RDBMS. Excel CSV. CSV JSON RDF. Excel RDF. RDF RDF..

Transcription:

DEIM Forum 2017 E3-1 SuperSQL 223 8522 3 14 1 E-mail: {tabata,goto}@db.ics.keio.ac.jp, toyama@ics.keio.ac.jp,,,, SuperSQL SuperSQL, SuperSQL. SuperSQL 1. SuperSQL, Cross table, SQL,. 1 1 2 4. 1 SuperSQL SuperSQL, SQL SQL SuperSQL, HTML, PDF, PHP HTML,, SuperSQL SuperSQL., SuperSQL,, 1 2 TFE, 2, 3 SuperSQL, 3 4, 5 2., Microsoft SQL server [4] SQL server PIVOT,, Microsoft Office Excel [5] SQL SQL,

Gray [6] cross tabulation CUBE, ROLL UP Johnson [7] pivoting SQL 3. SuperSQL SuperSQL SuperSQL SQL [1] [2] SQL SELECT GENERATE <media> <TFE> GENER- ATE <media> HTML PDF <TFE> Target Form Expression 3. 1 ( ) 3 (,) name, place name place (!) name name! place place 3. 2 [ ]!, [ ]!, [ ]! [! [, ]! ]! ([ ],) [Name], name1 name2 name10 ([ ]!) [Name]! 3. 3 name1 name2 name10 SuperSQL (asc) (desc) (asc)or(desc)< > 3. 4 SuperSQL (@) < >@{< >} =, [name@{width=100, color=red}]! 3. 5 SuperSQL SuperSQL ( 1, 2,...) SuperSQL 3. 5. 1 image image image(pict,./pic ) 3. 5. 2 link ( HTML ) link FOREACH link(name,./menu.ssql, place)

3 4.,,, 4. 1, SuperSQL TFE TFE,, SuperSQL 4 cross tab(tfe1, TFE2, TFE3)@{side-width=num, null-value= str } TFE 3.,, 3 4. 2 4. 1 cross tab TFE 3 1 TFE1 2 TFE2 3 TFE3 TFE3, TFE TFE 4. 3 SuperSQL 4. 1 2, 5 3. 3 asc desc 5 cross tab([c.day![c.name],],, [p.performance]!, [(desc)s.id]!) s.id desc 4. 4 6 A, B, C 4. 1 null-value 6 N/A, 4. 5 TFE. 100px 4. 1 side-width

6 8 NULL TFE1 NULL 10, 11 7. 7 10px 10px, 4. 6, (4. 6. 2 ), (4. 6. 3 ), (4. 6. 4 ) 4. 6. 1 SuperSQL SSQL SQL (TFEtree) Parser, SQL Data Constructor, Code Generator 8, 4. 6. 2 SuperSQL 4.1 TFE, [TFE1],! [TFE2, [null(tfe1), TFE3]!]! 4.1, [TFE1],! [TFE2, [null(tfe1), TFE3]!]! Algorithm 1 TFE Input: cross tab TFE Output: TFE 1: cross tab TFE1 TFE3 2: while TFE1 do 3: if then 4: 5: end if 6: end while 7: while TFE1 do 8: NULL 9: end while 10: NULL TFE1 TFE3, TFE2 11: TFE1 12: return TFE 10 NULL TFE1 TFE3 TFE1 TFE3 TFE2 TFE2 TFE [TFE2, [null(tfe1), TFE3]!]! 11 TFE1 10 TFE

4. 6. 3 4.3 SuperSQL 4.3 1 tfe anlysis Algorithm 2 Input: TFE Output: TFE 1: FUNCTION tfe anlysis(tfe) 2: if then 3: if then 4: return TFE 5: else 6: 7: return TFE 8: end if 9: else 10: TFE tmp 11: return tfe anlysis(tmp) 12: end if TFE 2, 3 4.3 SuperSQL TFE [, [, [[ ], [ ]]]] TFE, 12 4. 6. 4 4.4 1. 9 [[female, male], [13, 14, 15]] [[DBS, DM, Webapp], [A, B, C]] 2 8 9 2 8 54 10 26 combine 11 (A, B, C) Algorithm 3 Input: SQL Output: ( N/A ) 1: // 2: for all do 3: for all do 4: if then 5: 6: end if 7: end for 8: end for 9: // 10: combine(1, 1, 2,, ) 11: //SQL, 12: for all do 13: if then 14: 15: end if 16: end for 17: //SQL 18: for all do 19: for all do 20: if then 21: N/A 22: end if 23: end for 24: end for 25: return N/A 26: // combine 27: FUNCTION combine(num, 1, 2,, ) 28: for all 1 do 29: for all 2 do 30: 1 2 result 31: end for 32: end for 33: num++ 34: if num then 35: combine(num, result, num, 36: end if, ) 37: return result

9 A, B, C SSQL SQL 12 16 17 N/A 4. 7 student(id, name, gender, age, dept) class(id, name, day) performance(id, s id, c id, performance( ), score( )) student, class ( ), performance student class 4. 7. 1 1: Generate HTML cross tab([c.day![c.name],],, [s.dept,[s.name]!]!, p.performance)@{side-width=240} FROM student s, class c, performance p WHERE s.id = p.s id AND c.id = p.c id,. 10 4. 7. 2 2: A, B, C 10 A, B, C Generate HTML cross tab([s.gender! [s.dept],],, [c.name, [p.performance]!]!, count[s.id])@{side-width=120, null value= } FROM student s, class c, performance p WHERE s.id = p.s id AND c.id = p.c id

11 A, B, C, 11 4. 7. 3 3: Generate HTML cross tab([c.day! [c.name! avg[p.score] ],],, [s.dept,[s.name]!]!, p.score)@{side-width=200} FROM student s, class c, performance p WHERE s.id = p.s id AND c.id = p.c id, 12 5. 5. 1 2. 5. 1. 1 { M, F }., member.gender E, I, ( ), ( ) S, T, F 12, M 5. 1. 2, I, F M, M,, IFM Microsoft SQL Server

,, ES, ISM, IS Microsoft Excel Microsoft Excel. ITM IFM 5. 2,, 3,. SSQL, 1, TFE (SSQL ) (SSQL ) SSQL (SSQL ) 2 (SSQL ), (SSQL ) 3 GUI (SSQL ) 100px (SSQL ) cross table Where (SSQL ) [] (SSQL ) SuperSQL, SQL SuperSQL GUI 6. 6. 1 SuperSQL SuperSQL SuperSQL. SuperSQL, 6. 2 100px, [1] SuperSQL: http://supersql.db.ics.keio.ac.jp [2] M. Toyama: SuperSQL: An Extended SQL for Database Publishing and Presentation Proceedings of ACM SIG- MOD 98 International Conference on Management of Data pp. 584-586 1998 [3] Toshiyuki Seto Takuhiro Nagafuji Motomichi Toyama Generating HTML sources with TFE enhanced SQL SAC 97 Proceedings of the 1997 ACM symposium on Applied computing pp. 96-100 1997 [4] Microsoft SQL Server : https://msdn.microsoft.com /ja-jp/library/ms130214.aspx [5] Microsoft Excel : http://download.microsoft.com /download/0/0/5/005d55b9-82e2-489d-bb55-1b6b529f1b8f/ QuickGuide Excel2013.pdf [6] Jim Gray, Surajit Chaudhuri, Adam Bosworth, Andrew Layman, Don Reichart, Murali Venkatrao Data Cube: A Relational Aggregation Operator Generalizing Group-By, Cross-Tab, and Sub-Totals Data Mining and Knowledge Discovery 1, 2953 (1997) [7] Stephen B. Johnson, Damianos Chatziantoniou Extended SQL for Manipulating Clinical Warehouse Data Proc AMIA Symp. 1999:819-23.