{"id":753,"date":"2021-07-08T06:46:57","date_gmt":"2021-07-08T06:46:57","guid":{"rendered":"https:\/\/www.bearloga.space\/?page_id=753"},"modified":"2021-07-08T08:32:52","modified_gmt":"2021-07-08T08:32:52","slug":"operatory-filtraczii","status":"publish","type":"page","link":"https:\/\/www.bearloga.space\/uk\/operatory-filtraczii\/","title":{"rendered":"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 IN<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<strong>IN<\/strong>&nbsp;\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043d\u0430\u0431\u043e\u0440 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u043c\u0435\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0446\u044b:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>WHERE<\/code> <code>\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 [<\/code><code>NOT<\/code><code>] <\/code><code>IN<\/code> <code>(\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435)<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 \u043f\u043e\u0441\u043b\u0435 IN \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043d\u0430\u0431\u043e\u0440 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439. \u042d\u0442\u043e\u0442 \u043d\u0430\u0431\u043e\u0440 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0442\u044c\u0441\u044f \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0449\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430, \u043b\u0438\u0431\u043e \u044d\u0442\u043e \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u0442\u043e\u0432\u0430\u0440\u044b, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043b\u0438\u0431\u043e Samsung, \u043b\u0438\u0431\u043e Xiaomi, \u043b\u0438\u0431\u043e Huawei:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td><code>SELECT<\/code> <code>* FROM<\/code> <code>Products<\/code><br><code>WHERE<\/code> <code>Manufacturer IN<\/code> <code>('Samsung', 'HTC', 'Huawei');<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/metanit.com\/sql\/mysql\/pics\/4.4.png\" alt=\"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 IN \u0432 mysql\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<strong>NOT<\/strong>, \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u0438\u043c\u0435\u044e\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td><code>SELECT<\/code> <code>* FROM<\/code> <code>Products<\/code><br><code>WHERE<\/code> <code>Manufacturer NOT<\/code> <code>IN<\/code> <code>('Samsung', 'HTC', 'Huawei');<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/metanit.com\/sql\/mysql\/pics\/4.5.png\" alt=\"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 NOT IN \u0432 mysql\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 BETWEEN<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<strong>BETWEEN<\/strong>&nbsp;\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>WHERE<\/code> <code>\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 [<\/code><code>NOT<\/code><code>] <\/code><code>BETWEEN<\/code> <code>\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0435_\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <\/code><code>AND<\/code> <code>\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0435_\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0432\u0441\u0435 \u0442\u043e\u0432\u0430\u0440\u044b, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0446\u0435\u043d\u0430 \u043e\u0442 20 000 \u0434\u043e 50 000 (\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0435 \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0442\u0430\u043a\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0432 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d):<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td><code>SELECT<\/code> <code>* FROM<\/code> <code>Products<\/code><br><code>WHERE<\/code> <code>Price BETWEEN<\/code> <code>20000 AND<\/code> <code>50000;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/metanit.com\/sql\/mysql\/pics\/4.6.png\" alt=\"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 BETWEEN \u0432 mysql\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u043d\u0430\u0434\u043e, \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0442\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0430\u044e\u0442 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d, \u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<strong>NOT<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td><code>SELECT<\/code> <code>* FROM<\/code> <code>Products<\/code><br><code>WHERE<\/code> <code>Price NOT<\/code> <code>BETWEEN<\/code> <code>20000 AND<\/code> <code>50000;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0442\u043e\u0432\u0430\u0440\u044b \u043f\u043e \u0441\u043e\u0432\u043e\u043a\u0443\u043f\u043d\u043e\u0439 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 (\u0446\u0435\u043d\u0430 * \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e):<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td><code>SELECT<\/code> <code>* FROM<\/code> <code>Products<\/code><br><code>WHERE<\/code> <code>Price * ProductCount BETWEEN<\/code> <code>90000 AND<\/code> <code>150000;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b LIKE \u0438 REGEXP<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<strong>LIKE<\/strong>&nbsp;\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d \u0441\u0442\u0440\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>WHERE<\/code> <code>\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 [<\/code><code>NOT<\/code><code>] <\/code><code>LIKE<\/code> <code>\u0448\u0430\u0431\u043b\u043e\u043d_\u0441\u0442\u0440\u043e\u043a\u0438<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0440\u044f\u0434 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>%<\/strong>: \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0435, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u043b\u044e\u0431\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0438 \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435&nbsp;<code>WHERE ProductName LIKE 'Galaxy%'<\/code>&nbsp;\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0430\u043a\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c \u043a\u0430\u043a &#8220;Galaxy Ace 2&#8221; \u0438\u043b\u0438 &#8220;Galaxy S7&#8221;<\/li><li><strong>_<\/strong>: \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u044e\u0431\u043e\u043c\u0443 \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u043e\u043c\u0443 \u0441\u0438\u043c\u0432\u043e\u043b\u0443\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435&nbsp;<code>WHERE ProductName LIKE 'Galaxy S_'<\/code>&nbsp;\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0430\u043a\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c \u043a\u0430\u043a &#8220;Galaxy S7&#8221; \u0438\u043b\u0438 &#8220;Galaxy S8&#8221;.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 LIKE:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td><code>SELECT<\/code> <code>* FROM<\/code> <code>Products<\/code><br><code>WHERE<\/code> <code>ProductName LIKE<\/code> <code>'iPhone%';<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/metanit.com\/sql\/mysql\/pics\/4.7.png\" alt=\"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 LIKE \u0432 MySQL\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>REGEXP<\/strong>&nbsp;\u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u0434\u0430\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u0430. \u0412 \u044d\u0442\u043e\u043c \u043f\u043b\u0430\u043d\u0435 REGEXP \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 \u0438\u0437\u043e\u0449\u0440\u0435\u043d\u043d\u044b\u0439 \u0438 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438, \u043d\u0435\u0436\u0435\u043b\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 LIKE. REGEXP \u0438\u043c\u0435\u0435\u0442 \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>WHERE<\/code> <code>\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 [<\/code><code>NOT<\/code><code>] REGEXP \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>^<\/strong>: \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u0442\u0440\u043e\u043a\u0438<\/li><li><strong>$<\/strong>: \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u043a\u043e\u043d\u0435\u0446 \u0441\u0442\u0440\u043e\u043a\u0438<\/li><li><strong>.<\/strong>: \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u044e\u0431\u043e\u043c\u0443 \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u043e\u043c\u0443 \u0441\u0438\u043c\u0432\u043e\u043b\u0443<\/li><li><strong>[\u0441\u0438\u043c\u0432\u043e\u043b\u044b]<\/strong>: \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u044e\u0431\u043e\u043c\u0443 \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u043e\u043c\u0443 \u0441\u0438\u043c\u0432\u043e\u043b\u0443 \u0438\u0437 \u0441\u043a\u043e\u0431\u043e\u043a<\/li><li><strong>[\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439_\u0441\u0438\u043c\u0432\u043e\u043b-\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439_\u0441\u0438\u043c\u0432\u043e\u043b]<\/strong>: \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u044e\u0431\u043e\u043c\u0443 \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u043e\u043c\u0443 \u0441\u0438\u043c\u0432\u043e\u043b\u0443 \u0438\u0437 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432<\/li><li><strong>|<\/strong>: \u043e\u0442\u0434\u0435\u043b\u044f\u0435\u0442 \u0434\u0432\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0438, \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u043d\u0443 \u0438\u0437 \u044d\u0442\u0438\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043c\u0435\u0440\u044b REGEXP:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>WHERE ProductName REGEXP 'Phone'<\/code>: \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c &#8220;Phone&#8221;, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,&nbsp;<code>iPhone X<\/code>,&nbsp;<code>Nokia Phone N<\/code>,&nbsp;<code>iPhone<\/code><\/li><li><code>WHERE ProductName REGEXP '^Phone'<\/code>: \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c\u0441\u044f \u0441 &#8220;Phone&#8221;, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,&nbsp;<code>Phone 34<\/code>,&nbsp;<code>PhoneX<\/code><\/li><li><code>WHERE ProductName REGEXP 'Phone$'<\/code>: \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 &#8220;Phone&#8221;, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,&nbsp;<code>iPhone<\/code>,&nbsp;<code>Nokia Phone<\/code><\/li><li><code>WHERE ProductName REGEXP 'iPhone [78]';<\/code>: \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043b\u0438\u0431\u043e&nbsp;<code>iPhone 7<\/code>, \u043b\u0438\u0431\u043e&nbsp;<code>iPhone 8<\/code><\/li><li><code>WHERE ProductName REGEXP 'iPhone [6-8]';<\/code>: \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043b\u0438\u0431\u043e&nbsp;<code>iPhone 6<\/code>, \u043b\u0438\u0431\u043e&nbsp;<code>iPhone 7<\/code>, \u043b\u0438\u0431\u043e&nbsp;<code>iPhone 8<\/code><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0439\u0434\u0435\u043c \u0442\u043e\u0432\u0430\u0440\u044b, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u043b\u0438\u0431\u043e &#8220;Phone&#8221;, \u043b\u0438\u0431\u043e &#8220;Galaxy&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td><code>SELECT<\/code> <code>* FROM<\/code> <code>Products<\/code><br><code>WHERE<\/code> <code>ProductName REGEXP 'Phone|Galaxy';<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/metanit.com\/sql\/mysql\/pics\/4.8.png\" alt=\"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 REGEXP \u0432 MySQL\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">IS NULL<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<strong>IS NULL<\/strong>&nbsp;\u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u043c\u0435\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 NULL:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<br>2<\/td><td><code>SELECT<\/code> <code>* FROM<\/code> <code>Products<\/code><br><code>WHERE<\/code> <code>ProductCount IS<\/code> <code>NULL;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430&nbsp;<strong>NOT<\/strong>&nbsp;\u043c\u043e\u0436\u043d\u043e, \u043d\u0430\u043e\u0431\u0440\u043e\u0442, \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438, \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u0438\u043c\u0435\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f NULL:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><br>2<\/td><td><code>SELECT<\/code> <code>* FROM<\/code> <code>Products<\/code><br><code>WHERE<\/code> <code>ProductCount IS<\/code> <code>NOT<\/code> <code>NULL;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><ins><\/ins><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 IN \u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;IN&nbsp;\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043d\u0430\u0431\u043e\u0440 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u043c\u0435\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0446\u044b: 1 WHERE \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 [NOT] IN (\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435) \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 \u043f\u043e\u0441\u043b\u0435 IN [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[75],"tags":[],"class_list":["post-753","page","type-page","status-publish","hentry","category-rukovodstvo-po-mysql"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages\/753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/comments?post=753"}],"version-history":[{"count":0,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages\/753\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/media?parent=753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/categories?post=753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/tags?post=753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}