From 2639b09f0abace963e4a1b90008a3f25dc66453f Mon Sep 17 00:00:00 2001 From: GuanM <30427262+sxhoio@users.noreply.github.com.> Date: Tue, 19 Nov 2024 15:58:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E9=85=8D=E7=AC=A6[]=E7=9A=84=E4=BD=BF?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 数据库/头歌/通配符[]的使用/通配符[]的使用.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 数据库/头歌/通配符[]的使用/通配符[]的使用.sh diff --git a/数据库/头歌/通配符[]的使用/通配符[]的使用.sh b/数据库/头歌/通配符[]的使用/通配符[]的使用.sh new file mode 100644 index 0000000..f8ac357 --- /dev/null +++ b/数据库/头歌/通配符[]的使用/通配符[]的使用.sh @@ -0,0 +1,16 @@ +USE Mall +Go + +SET NOCOUNT ON + +---------- retrieving with wildcard [] ---------- +-- ********** Begin ********** -- + +SELECT prod_id, prod_name, prod_price +FROM Products +WHERE prod_name NOT LIKE 'B%'; + +-- ********** End ********** -- + +GO +