Skip to content
Snippets Groups Projects
Commit d2e081a1 authored by Wanxin Li's avatar Wanxin Li
Browse files

Update README.md

parent 0f83b539
No related branches found
No related tags found
No related merge requests found
......@@ -86,40 +86,41 @@ Entity descriptions for algebra in lisp form. There are two sorts of operators:
names, and (2) operators producing “column tables”, where tuples are a possibly
infinite set of “SQLP column name”/“constant” pairs.
&le query &gt (1)
`<query> (1)
( select <set-or-bag> <limit> (as-list <as> … ) <body> )
( union <set-or-bag> <limit> (query-list <query> … ) )
( union <set-or-bag> <limit> (query-list <query> … ) )`
<set-or-bag>
`<set-or-bag>
distinct
all
all`
<limit>
`<limit>
( limit <integer-constant> )
( no-limit )
( no-limit )`
<as>
( as <column> <attribute-name> )
`<as>
( as <column> <attribute-name> )`
<body> (2)
`<body> (2)
<pred>
( atom <table-name> <var> )
( natural-join-list <body> … )
( sub-query <query> <var> )
( sub-query <query> <var> )`
<pred>
`<pred>
( equal <term> <term> )
( less-than <term> <term> )
( less-than-or-equal <term> <term> )
( exists <body> )
( not <pred> )
( and-list <pred> … )
( or-list <pred> … )
( or-list <pred> … )`
<term>
`<term>
<column>
( integer <integer-constant> )
( string <string-constant> )
( string <string-constant> )`
<column>
( column <var> ( attribute-name-list <attribute-name> … ) )
\ No newline at end of file
`<column>
( column <var> ( attribute-name-list <attribute-name> … ) )`
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment