Kafka Querying SQL Query

Source: Internet
Author: User

1. SELECT COUNT (*) from Wiseweb_crawler_foreignmedias WHERE site_id=90000and (Gathertime between'2017-05-01 00:00:01'and'2017-05-10 23:59:59')2, SELECT site_id, COUNT (*) from Wiseweb_crawler_foreignmedias WHERE (site_id between90000and99999) and (Gathertime between'2017-05-11 00:00:01'and'2017-05-11 23:59:59') GROUP by site_id limit the 3Title:'иртышпотоп'or content:'иртышпотоп'and gathertime:["2017-05-20 00:00:01"To"2017-05-23 23:59:59"]4SELECT site_id,title,publishtime,gathertime from Wiseweb_crawler_foreignmediaswhere(title ='%водная%'OR content ='%водная%') and (title ='%сотрудничество%'OR content ='%сотрудничество%') and (title ='%китай%'OR content ='%китай%')5SELECT Site_name,title,publishtime,content,url from wiseweb_crawler_website20170718 WHERE (title='Public Opinion'OR content ='Public Opinion') and (Gathertime between'2017-07-21 00:00:00'and'2017-07-28 23:59:59') and (site_id between129494and130357) Financial 116886-117064Financial129494-130357SELECT site_id,title,publishtime,site_name from wiseweb_crawler_website20171024where(content='% public sentiment%'or content='% Public opinion Guide%'or content='% desensitization%'or content='% data de-sensitivity%'or content='% precision Search%'or content='% Portrait%'or content='% Wind Control%'or content='% risk Control%'or content='% Content Management%'or content='% Big Data analysis%'or content='% Large Data acquisition%'or content='% Big Data mining%') and (contet='% tender notice%'or title='% tender notice%') SELECT Site_id,title,publishtime,content,site_name,url from wiseweb_crawler_website20171201where(content='% public sentiment%'or content='% Public opinion Guide%'or content='% desensitization%'or content='% data de-sensitivity%'or content='% precision Search%'or content='% Portrait%'or content='% Wind Control%'or content='% risk Control%'or content='% Content Management%'or content='% Big Data analysis%'or content='% Large Data acquisition%'or content='% Big Data mining%') and (contet='% tender notice%'or title='% tender notice%') and (Publishtime between'2017-12-01 00:00:00'and'2017-12-08 23:59:59')

Kafka Querying SQL Query

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.