[前][次][番号順一覧][スレッド一覧]

mysql:11707

From: "T.Sasaki" <"T.Sasaki" <papasan2000@xxxxxxxxxx>>
Date: 7 Jul 2005 20:47:57 +0900
Subject: [mysql 11707] Re: 全文検索と他条件の組み合わせ

佐々木です。

SELECT COUNT(ID) AS cnt1 FROM Recipe
 WHERE MATCH( Title,Description ) AGAINST( '+"じゃがいも"' IN BOOLEAN MODE );

SELECT COUNT(ID) AS cnt2 FROM Recipe WHERE CategoryA = 4;

この2つのSQLを実行して返される cnt1, cnt2 の値を教えてください。

[前][次][番号順一覧][スレッド一覧]

     11693 2005-07-06 16:07 [Kenta Hashimoto <kem] 全文検索と他条件の組み合わせ            
     11694 2005-07-07 00:55 ┣[UNO Shintaro <uno@xx]                                       
     11697 2005-07-07 09:58 ┗["T.Sasaki" <papasan2]                                       
     11706 2005-07-07 20:18  ┗[Kenta Hashimoto <kem]                                     
->   11707 2005-07-07 20:47   ┗["T.Sasaki" <papasan2]                                   
     11712 2005-07-07 21:39    ┗[Kenta Hashimoto <kem]                                 
     11713 2005-07-07 21:58     ┗["T.Sasaki" <papasan2]                               
     11714 2005-07-07 22:14      ┗[Kenta Hashimoto <kem]                             
     11715 2005-07-07 22:56       ┗["T.Sasaki" <papasan2]                           
     11716 2005-07-07 23:10        ┣[Kenta Hashimoto <kem]                         
     11717 2005-07-07 23:17        ┗[Kazuhiro Osawa <ko@x]                         
     11719 2005-07-08 00:14         ┣[Kenta Hashimoto <kem]                       
     11720 2005-07-08 06:25         ┗["T.Sasaki" <papasan2]                       
     11734 2005-07-09 13:45          ┗[Kazuhiro Osawa <ko@x]                     
     11735 2005-07-09 20:31           ┣["T.Sasaki" <papasan2]                   
     11736 2005-07-12 15:33           ┗["Naoi Masaaki" <naoi] MySQLでの最大項目数につきまして
     11737 2005-07-12 16:33            ┣[Tetsuro IKEDA <ikdtt]                 
     11739 2005-07-12 17:42            ┃┗["Naoi Masaaki" <naoi]               
     11738 2005-07-12 17:10            ┗[Hiroshi Moriyama <mt]                 
     11740 2005-07-12 17:47             ┣["Naoi Masaaki" <naoi]               
     11742 2005-07-13 20:08             ┗["T.Sasaki" <papasan2]