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