Skip to content

Commit 1bfae17

Browse files
minor
1 parent f90c251 commit 1bfae17

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

SQL_cheet_sheet .ipynb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
]
175175
},
176176
{
177+
"attachments": {},
177178
"cell_type": "markdown",
178179
"id": "9b38b218",
179180
"metadata": {},
@@ -182,6 +183,17 @@
182183
"\n",
183184
"```sql\n",
184185
"SELECT col_name FROM tab_name WHERE [CONDITION] \n",
186+
"```\n",
187+
"\n",
188+
"\n",
189+
"__IN, BETWEEN, LIKE__\n",
190+
"\n",
191+
"```sql\n",
192+
"SELECT *\n",
193+
"FROM tab_name \n",
194+
"WHERE col_1 IN [LIST]\n",
195+
" AND (col_2 BETWEEN [VAL_1] AND [VAL_2])\n",
196+
" OR col_3 LIKE [REGEX];\n",
185197
"```"
186198
]
187199
},

0 commit comments

Comments
 (0)