GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — SQL-Refresher/selsect-where-part-1-17.psql at master · roo1989/SQL-Refresher Expand file tree/ Copy pathselsect-where-part-1-17.psqlMore file actions 40 lines (33 loc) · 1.06 KB / Copy pathselsect-where-part-1-17.psqlFile metadata and controls40 lines (33 loc) · 1.06 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 /** * SELECT and WHERE are the most * fundimental SQL statements and you will use them often. * The WHERE statement allows uus to specify conditons on columns or rows to be returned. The WHERE clause appears immediately after the FROM clause of the SELECT statement as seen below. The conditions are used to filter the rows returned from the SELECT statement. PostgreSQL provides a variety of standard operators to construct the conditions. * Example of syntax: - SELECT column1, column2 FROM table WkERE condition; Comparospm Operators |=| Equal --------------------- |>| Greater Than --------------------- |<| Less Than --------------------- |>=| Greather than or equal to ------------------------------ |=>| Lesser than or equal to ------------------------------ |<> or !=| Not equal to ------------------------- And rhen we have Logical Operators. Allow us to combine multiple comparison operators - AND - OR - NOT */ -- SELECT title FROM film; SELECT title FROM film WHERE title = 'Alone Trip'; SELECT id, title from film where id = 21; |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |