question_id int64 1 75.7k | db_id stringclasses 33
values | db_name stringclasses 4
values | question stringlengths 19 259 | partition stringclasses 4
values | difficulty stringclasses 3
values | SQL stringlengths 25 862 |
|---|---|---|---|---|---|---|
1,901 | tracking_orders | spider | For each customer who has at least two orders, find the customer name and number of orders made. | train | hard | SELECT t2.customer_name, COUNT(*) FROM orders AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id GROUP BY t2.customer_id HAVING COUNT(*) >= 2 |
1,902 | tracking_orders | spider | Which customers have made at least two orders? Give me each customer name and number of orders made. | train | hard | SELECT t2.customer_name, COUNT(*) FROM orders AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id GROUP BY t2.customer_id HAVING COUNT(*) >= 2 |
1,903 | tracking_orders | spider | Find the name of the customers who have at most two orders. | train | hard | SELECT t2.customer_name FROM orders AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id GROUP BY t2.customer_id HAVING COUNT(*) <= 2 |
1,904 | tracking_orders | spider | What are the names of the customers who have made two or less orders? | train | hard | SELECT t2.customer_name FROM orders AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id GROUP BY t2.customer_id HAVING COUNT(*) <= 2 |
1,905 | tracking_orders | spider | List the names of the customers who have once bought product "food". | train | hard | SELECT t1.customer_name FROM customers AS t1, orders AS t2, order_items AS t3 JOIN products AS t4 ON t1.customer_id = t2.customer_id AND t2.order_id = t3.order_id AND t3.product_id = t4.product_id WHERE t4.product_name = 'food' GROUP BY t1.customer_id HAVING COUNT(*) >= 1 |
1,906 | tracking_orders | spider | What are the names of the customers who bought product "food" at least once? | train | hard | SELECT t1.customer_name FROM customers AS t1, orders AS t2, order_items AS t3 JOIN products AS t4 ON t1.customer_id = t2.customer_id AND t2.order_id = t3.order_id AND t3.product_id = t4.product_id WHERE t4.product_name = 'food' GROUP BY t1.customer_id HAVING COUNT(*) >= 1 |
1,907 | tracking_orders | spider | List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel"). | train | hard | SELECT t1.customer_name FROM customers AS t1, orders AS t2, order_items AS t3 JOIN products AS t4 ON t1.customer_id = t2.customer_id AND t2.order_id = t3.order_id AND t3.product_id = t4.product_id WHERE t3.order_item_status = 'cancel' AND t4.product_name = 'food' GROUP BY t1.customer_id HAVING COUNT(*) >= 1 |
1,908 | tracking_orders | spider | Which customers have ever canceled the purchase of the product "food" (the item status is "Cancel")? | train | hard | SELECT t1.customer_name FROM customers AS t1, orders AS t2, order_items AS t3 JOIN products AS t4 ON t1.customer_id = t2.customer_id AND t2.order_id = t3.order_id AND t3.product_id = t4.product_id WHERE t3.order_item_status = 'cancel' AND t4.product_name = 'food' GROUP BY t1.customer_id HAVING COUNT(*) >= 1 |
1,909 | real_estate_properties | spider | How many available features are there in total? | dev | easy | SELECT COUNT(*) FROM other_available_features |
1,910 | real_estate_properties | spider | What is the feature type name of feature AirCon? | dev | hard | SELECT t2.feature_type_name FROM other_available_features AS t1 JOIN ref_feature_types AS t2 ON t1.feature_type_code = t2.feature_type_code WHERE t1.feature_name = 'aircon' |
1,911 | real_estate_properties | spider | Show the property type descriptions of properties belonging to that code. | dev | hard | SELECT t2.property_type_description FROM properties AS t1 JOIN ref_property_types AS t2 ON t1.property_type_code = t2.property_type_code GROUP BY t1.property_type_code |
1,912 | real_estate_properties | spider | What are the names of properties that are either houses or apartments with more than 1 room? | dev | medium | SELECT property_name FROM properties WHERE property_type_code = 'house' UNION SELECT property_name FROM properties WHERE property_type_code = 'apartment' AND room_count > 1 |
1,913 | ccks_fund | bull | Which fund managers have a highest degree of Master and have served for less than 365 days? | train | hard | SELECT a.name FROM mf_fundmanagernew AS a JOIN mf_personalinfo AS b ON a.personalcode = b.personalcode WHERE a.managementtime < 365 AND b.education = 'master' |
1,914 | ccks_stock | bull | Which companies are ranked in the top 5 in terms of income in 2021? | train | easy | SELECT chinameabbr FROM lc_mainoperincome WHERE STRFTIME('%y', enddate) = '2021' ORDER BY mainoperincome DESC LIMIT 5 |
1,915 | ccks_fund | bull | Find the number of funds with positive returns in the fund with an index cycle of "one month," and display them grouped by fund nature. | train | hard | SELECT b.fundnature, COUNT(*) FROM mf_fundreturnrank AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE a.indexcycle = 'one month' AND a.fundreturn > 0 GROUP BY b.fundnature |
1,916 | ccks_stock | bull | Which company had the highest cost last year? | train | easy | SELECT chinameabbr FROM lc_mainoperincome WHERE STRFTIME('%y', enddate) = STRFTIME('%y', DATE('now', '-1 year')) ORDER BY mainopercost DESC LIMIT 1 |
1,917 | ccks_stock | bull | Please help me confirm the main business scope of Tianqi Lithium Corporation. | train | medium | SELECT businessmajor FROM lc_business AS lb WHERE chinameabbr = 'tianqi lithium corporation' |
1,918 | ccks_fund | bull | Which managers in institution "40981" have received awards and list the corresponding fund names. | train | medium | SELECT fundmanager, fund FROM mf_awards WHERE appraisalorgcode = '40981' |
1,919 | ccks_fund | bull | Fund and security codes listed on the Dalian Commodity Exchange in 2021. | train | medium | SELECT secuabbr, secucode FROM mf_fundarchives WHERE secumarket = 'dalian commodity exchange' AND STRFTIME('%y', listeddate) = '2021' |
1,920 | ccks_stock | bull | In the past two years, which companies has "Beijing Yeqin Investment Advisory Co., Ltd." bought shares in, and what are the respective shareholder investment amounts? | train | medium | SELECT secucode, shinvestsum FROM lc_relatedsh WHERE shname = 'beijing yeqin investment advisory co., ltd.' AND STRFTIME('%y', enddate) > STRFTIME('%y', DATE('now', '-2 year')) |
1,921 | ccks_fund | bull | I want to see which fund has the largest number of bond holdings and its manager. | train | hard | SELECT b.secuabbr, b.manager FROM mf_bondportifoliodetail AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode ORDER BY a.holdvolume DESC LIMIT 1 |
1,922 | ccks_stock | bull | Which major shareholders' names of 600655 have actual allotments exceeding 1 million shares? | train | medium | SELECT shname FROM lc_largeshsubscription WHERE secucode = '600655' AND actualshares > 1000000 |
1,923 | ccks_fund | bull | Which infrastructure securities investment funds were established by Taikang Asset Management Co., Ltd. in 2021? | train | medium | SELECT secuabbr FROM mf_fundarchives WHERE investadvisorname = 'taikang asset management co., ltd.' AND fundtype = 'infrastructure securities investment fund' AND STRFTIME('%y', establishmentdate) = '2021' |
1,924 | ccks_stock | bull | What is the full name of CITIC Securities? What about its code? | train | easy | SELECT chiname, astockcode FROM lc_stockarchives WHERE chinameabbr = 'citic securities' |
1,925 | ccks_fund | bull | List the names and risk levels of the funds managed by fund manager Zhu Shaoxing. | train | hard | SELECT a.secuabbr, b.risklevel FROM mf_fundmanagernew AS a JOIN mf_fundrisklevel AS b ON a.innercode = b.innercode WHERE a.name = 'zhu shaoxing' |
1,926 | ccks_fund | bull | List the funds and managers that hold 21 Guokai 06. | train | hard | SELECT b.secuabbr, b.manager FROM mf_bondportifoliodetail AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE a.bondabbr = '21 guokai 06' |
1,927 | ccks_fund | bull | Find all fund managers who are not of Anguillan nationality. | train | easy | SELECT chinesename FROM mf_personalinfo WHERE nationality <> 'anguillan' |
1,928 | ccks_stock | bull | Which shareholders have a shareholding proportion exceeding 0.5 in the freezing and pledging party? List the shareholder names and the proportion of shares held by the freezing and pledging party. | train | easy | SELECT fpshname, pctofpledger FROM lc_sharefp WHERE pctofpledger > 0.5 |
1,929 | ccks_fund | bull | Which fund managers have left their positions for E Fund Securities A? | train | medium | SELECT name FROM mf_fundmanagernew WHERE secuabbr = 'e fund securities a' AND incumbent = 'left' |
1,930 | ccks_fund | bull | What funds have had benchmark growth rates exceeding 200% since inception? | train | medium | SELECT secuabbr FROM mf_benchmarkgrowthrate WHERE benchgrforsince > 200 |
1,931 | ccks_stock | bull | What are the names of the allotment shareholders of Dongxu Blue Sky? | train | easy | SELECT shname FROM lc_largeshsubscription WHERE chinameabbr = 'dongxu blue sky' |
1,932 | ccks_stock | bull | What are the top ten companies with the highest ratio of R&D investment to operating income among companies with the highest proportion of R&D personnel in Guangdong Province? | train | hard | SELECT b.chinameabbr FROM lc_intassetsdetail AS a JOIN lc_stockarchives AS b ON a.companycode = b.companycode WHERE b.state = 'guangdong province' ORDER BY a.rdstaffnum DESC, a.rdinputratio DESC LIMIT 10 |
1,933 | ccks_fund | bull | Which managers' funds hold 21 Fixed-rate National Bonds 10? | train | hard | SELECT b.manager FROM mf_bondportifoliodetail AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE a.bondabbr = '21 fixed-rate national bonds 10' |
1,934 | ccks_fund | bull | The names of fund managers and their tenure in funds with the securities market "Shanghai Gold Exchange". | train | hard | SELECT a.name, a.managementtime FROM mf_fundmanagernew AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE b.secumarket = 'shanghai gold exchange' |
1,935 | ccks_fund | bull | Who is the contact person for E Fund Management? | train | medium | SELECT linkman FROM mf_investadvisoroutline WHERE investadvisorabbrname = 'e fund management' |
1,936 | ccks_fund | bull | What is the full name of Huaxia Shanghai-Hong Kong-Shenzhen 500 ETF Fund? | train | easy | SELECT chiname FROM mf_fundarchives WHERE secuabbr = 'huaxia shanghai-hong kong-shenzhen 500 etf' |
1,937 | ccks_fund | bull | Find funds whose benchmark growth rate is greater than 20% for the past two years. | train | medium | SELECT secuabbr FROM mf_benchmarkgrowthrate WHERE benchgrfor2year > 20 |
1,938 | ccks_stock | bull | Which companies in A-shares have a total share capital exceeding 1 billion, sorted by free float ratio in descending order? | train | easy | SELECT chinameabbr FROM lc_freefloat WHERE totalashare > 1000000000 ORDER BY adjfreefloatratio DESC |
1,939 | ccks_fund | bull | How many fund managers in total have a highest education level of Doctor or Post-doctoral? | train | medium | SELECT COUNT(*) FROM mf_personalinfo WHERE education = 'doctor' OR education = 'post-doctoral' |
1,940 | ccks_stock | bull | What was the revenue of Sinopec in the first quarter of last year? | train | medium | SELECT mainoperincome FROM lc_mainoperincome WHERE chinameabbr = 'sinopec' AND STRFTIME('%y', enddate) = STRFTIME('%y', DATE('now', '-1 year')) AND ROUND(CAST(STRFTIME('%m', enddate) AS REAL) / 3.0 + 0.495) = 1 |
1,941 | ccks_stock | bull | What is the half-year growth rate of the per capita holding amount of Beijing Agricultural Intelligence Fund in 2020? | train | medium | SELECT avgholdsumgrhalfayear FROM lc_shnumber WHERE STRFTIME('%y', enddate) = '2020' AND chinameabbr = 'beijing agricultural intelligence fund' |
1,942 | ccks_stock | bull | Last year, among the investors of this stock 600000, which shareholders' investment amounts reached tens of millions? List the names of investors. | train | medium | SELECT shname FROM lc_relatedsh WHERE shinvestsum > 10000000 AND secucode = '600000' AND STRFTIME('%y', enddate) = STRFTIME('%y', DATE('now', '-1 year')) |
1,943 | ccks_fund | bull | Which fund has the securities code 510220? What is its full name? | train | easy | SELECT chiname FROM mf_fundarchives WHERE secucode = '510220' |
1,944 | ccks_stock | bull | Legal representative of Yao Ming Kang De | train | easy | SELECT legalrepr FROM lc_stockarchives WHERE chinameabbr = 'yao ming kang de' |
1,945 | ccks_stock | bull | What is the name of the allotment shareholders of Aerospace Development? | train | easy | SELECT shname FROM lc_largeshsubscription WHERE chinameabbr = 'aerospace development' |
1,946 | ccks_stock | bull | Display the company abbreviation, province and legal person of the company whose primary industry is "Construction Industry" | train | hard | SELECT a.chinameabbr, a.state, a.legalrepr FROM lc_stockarchives AS a JOIN lc_exgindustry AS b ON a.companycode = b.companycode WHERE b.firstindustryname = 'construction industry' |
1,947 | ccks_fund | bull | Provide the funds and managers whose benchmark growth rate is greater than 0 today. | train | hard | SELECT a.secuabbr, b.manager FROM mf_benchmarkgrowthrate AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE a.dailybenchgr > 0 |
1,948 | ccks_stock | bull | Which companies in Jiangsu Province have a free float ratio of less than 50%? | train | hard | SELECT b.chinameabbr FROM lc_stockarchives AS a JOIN lc_freefloat AS b ON a.companycode = b.companycode WHERE b.adjfreefloatratio < 50 AND a.state = 'jiangsu province' |
1,949 | ccks_fund | bull | How many funds have a risk level of "medium-high" and belong to the "mixed-type" fund category? | train | hard | SELECT COUNT(*) FROM mf_fundrisklevel AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE a.risklevel = 'medium-high' AND b.fundtype = 'mixed-type' |
1,950 | ccks_stock | bull | List the shareholders and actual share allocation of Zhejiang University Netcom, as well as the name of the stock issuing institution and the underwritten share amount. | train | hard | SELECT b.shname, b.actualshares, a.fullname, a.underwritingvol FROM lc_issueandlistagent AS a JOIN lc_largeshsubscription AS b ON a.companycode = b.companycode WHERE a.chinameabbr = 'zhejiang university netcom' |
1,951 | ccks_fund | bull | When was Qianhai Kaiyuan Fund established, and where is its registered location? | train | medium | SELECT establishmentdate, regaddr FROM mf_investadvisoroutline WHERE investadvisorabbrname = 'qianhai kaiyuan fund' |
1,952 | ccks_stock | bull | Find the monthly market data where the price-to-earnings ratio is greater than 100 and the price-to-book ratio is less than 5. | train | medium | SELECT * FROM qt_monthdata WHERE pb < 5 AND pettm > 100 |
1,953 | ccks_stock | bull | Please help me check the number of companies with a market capitalization exceeding 5 billion yuan in circulation in the A-share market in 2020, grouped by their primary industry. | train | hard | SELECT a.firstindustryname, COUNT(*) FROM lc_exgindustry AS a JOIN lc_freefloat AS b ON a.companycode = b.companycode WHERE b.afloats > 5000000000 AND STRFTIME('%y', changedate) = '2020' GROUP BY a.firstindustryname |
1,954 | ccks_fund | bull | Find the fund managers and their highest education qualifications whose total fund management scale exceeds 10 billion. | train | hard | SELECT b.chinesename, b.education FROM mf_fmscaleanalysisn AS a JOIN mf_personalinfo AS b ON a.personalcode = b.personalcode WHERE a.totalfundnv > 100 |
1,955 | ccks_stock | bull | In 2018, which companies had sales gross profit rates exceeding 1? List the codes of these companies. | train | medium | SELECT secucode FROM lc_mainoperincome WHERE grossprofit > 1 AND STRFTIME('%y', enddate) = '2018' |
1,956 | ccks_fund | bull | Do you know the calculation method for the fee rate of 160133? | train | easy | SELECT flochargerate FROM mf_chargeratenew WHERE secucode = '160133' |
1,957 | ccks_stock | bull | Who are the legal representative, general manager, and secretary of the board of directors of Heng Bao Corporation? | train | medium | SELECT legalrepr, generalmanager, secretarybd FROM lc_stockarchives WHERE chinameabbr = 'heng bao corporation' |
1,958 | ccks_stock | bull | Find the website of company with stock code 300892. | train | easy | SELECT website FROM lc_stockarchives WHERE astockcode = '300892' |
1,959 | ccks_fund | bull | What is the name of the fund manager for funds with investment type "Growth-Steady Growth"? | train | hard | SELECT a.name FROM mf_fundmanagernew AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE b.investmenttype = 'growth-steady growth' |
1,960 | ccks_stock | bull | How many companies had operating income exceeding 100 million yuan last year? | train | medium | SELECT COUNT(*) FROM lc_mainoperincome WHERE STRFTIME('%y', enddate) = STRFTIME('%y', DATE('now', '-1 year')) AND mainoperincome > 100000000 |
1,961 | ccks_stock | bull | Display the number and proportion of holdings after the transfer of shares for Union Creat Electronic. | train | easy | SELECT sumaftertran, pctaftertran FROM lc_sharetransfer WHERE chinameabbr = 'union creat electronic' |
1,962 | ccks_stock | bull | By the way, Xiao Li, can you check the names of the listed companies in the "General Equipment Manufacturing" industry, along with their legal representatives and office addresses? | train | hard | SELECT a.chinameabbr, b.legalrepr, b.officeaddr FROM lc_business AS a JOIN lc_stockarchives AS b ON a.companycode = b.companycode WHERE a.industryname = 'general equipment manufacturing' |
1,963 | ccks_fund | bull | Number of fund managers serving more than 5 funds, grouped by fund managers’ highest educational level. | train | hard | SELECT b.education, COUNT(*) FROM mf_fmretscaleanalysis AS a JOIN mf_personalinfo AS b ON a.personalcode = b.personalcode WHERE a.numberoffunds > 5 GROUP BY b.education |
1,964 | ccks_stock | bull | What are the companies with circulating A-shares over 10 billion and belonging to the primary industry of "construction industry"? | train | hard | SELECT a.chinameabbr FROM lc_sharestru AS a JOIN lc_exgindustry AS b ON a.companycode = b.companycode WHERE a.afloats > 10000000000 AND b.firstindustryname = 'construction industry' |
1,965 | ccks_stock | bull | What are the records of 000752 that had a share distribution ratio exceeding 0.5 in the past? List the share registration date and the distribution ratio. | train | medium | SELECT rightregdate, tranaddshareraio FROM lc_dividend WHERE tranaddshareraio > 0.5 AND secucode = '000752' |
1,966 | ccks_stock | bull | Which companies have a half-year growth rate in the average proportion of shareholding exceeding 15%? | train | medium | SELECT chinameabbr FROM lc_shnumber WHERE proportiongrhalfayear > 15 |
1,967 | ccks_stock | bull | Please help me find the stock codes of the "Data Center" sector, and list the names of the legal representative and chairman's secretary. | train | hard | SELECT a.secucode, b.legalrepr, b.secretarybd FROM lc_coconcept AS a JOIN lc_stockarchives AS b ON a.companycode = b.companycode WHERE a.conceptname = 'data center' |
1,968 | ccks_fund | bull | List the names and investment scope of the top ten funds with the highest monthly benchmark growth rate. | train | hard | SELECT b.secuabbr, b.investfield FROM mf_benchmarkgrowthrate AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode ORDER BY a.monthlybenchgr DESC LIMIT 10 |
1,969 | ccks_macro | bull | What is the minimum payment ratio of "Securities Trading Stamp Tax" for "A-share" on the "Zhengzhou Commodity Exchange"? | train | medium | SELECT ratiofloor FROM ed_taxrate WHERE typename = 'a-share' AND itemname = 'securities trading stamp tax' AND secumarket = 'zhengzhou commodity exchange' |
1,970 | ccks_fund | bull | List the return rate rankings of similar managers whose highest academic qualification is a Ph.D. | train | hard | SELECT a.returntyperank FROM mf_fmretandscalerank AS a JOIN mf_personalinfo AS b ON a.personalcode = b.personalcode WHERE b.education = 'ph.d' |
1,971 | ccks_fund | bull | Please select all fund managers who have Jersey (British) nationality and male gender. Thank you! | train | medium | SELECT chinesename FROM mf_personalinfo WHERE nationality = 'jersey (british)' AND gender = 'male' |
1,972 | ccks_fund | bull | How many funds with "Medium-Low" risk rating are there in the securities market "Shanghai Stock Exchange"? | train | hard | SELECT COUNT(*) FROM mf_fundrisklevel AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE a.risklevel = 'medium-low' AND b.secumarket = 'shanghai stock exchange' |
1,973 | ccks_stock | bull | What is the abbreviation for the listed company controlled by Australian institutions, and who is its president? | train | hard | SELECT a.chinameabbr, a.generalmanager FROM lc_stockarchives AS a JOIN lc_actualcontroller AS b ON a.companycode = b.companycode WHERE b.nationalitydesc = 'australia' |
1,974 | ccks_fund | bull | What is the average minimum redemption amount for open-end funds? | train | easy | SELECT AVG(lowestsumredemption) FROM mf_fundarchives WHERE type = 'open-end' |
1,975 | ccks_stock | bull | I want to sell Nong Fa Zhong Ye. What are the names of its major shareholders and their respective shareholdings? | train | easy | SELECT shname, holdingsum FROM lc_relatedsh WHERE chinameabbr = 'nong fa zhong ye' |
1,976 | ccks_stock | bull | What is the total exchange difference for Foster in 2016? | train | medium | SELECT COUNT(exchangeproloss) FROM lc_financialexpense WHERE chinameabbr = 'foster' AND STRFTIME('%y', enddate) = '2016' |
1,977 | ccks_fund | bull | I want to see which funds hold bond market values exceeding 10 million, and what are the names of the fund manager and the specific market values. | train | hard | SELECT b.secuabbr, b.manager, a.marketvalue FROM mf_bondportifoliodetail AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE a.marketvalue > 10000000 |
1,978 | ccks_stock | bull | What are the names of the companies, executive names, and positions where the proportion of newly added tradable A-shares exceeds 80% of the total tradable A-shares at the end of the previous period? | train | hard | SELECT a.chinameabbr, b.leadername, b.positiondescription FROM lc_sharesfloatingschedule AS a JOIN lc_executivesholdings AS b ON a.companycode = b.companycode WHERE a.proportion1 > 80 |
1,979 | ccks_stock | bull | What are the companies ranked in the top 20 for exchange differences? | train | hard | SELECT chinameabbr FROM lc_financialexpense ORDER BY exchangeproloss DESC LIMIT 20 |
1,980 | ccks_stock | bull | What is the A-share stock code of Chongqing Construction Engineering? | train | easy | SELECT astockcode FROM lc_stockarchives WHERE chinameabbr = 'chongqing construction engineering' |
1,981 | ccks_fund | bull | Find the website of Guotai Fund. | train | medium | SELECT website FROM mf_investadvisoroutline WHERE investadvisorabbrname = 'guotai fund' |
1,982 | ccks_fund | bull | List the names of the funds and their risk levels managed by the fund manager with the longest tenure. | train | hard | SELECT b.secuabbr, b.risklevel FROM mf_fundmanagernew AS a JOIN mf_fundrisklevel AS b ON a.innercode = b.innercode ORDER BY a.managementtime DESC LIMIT 1 |
1,983 | ccks_stock | bull | Which shareholders are involved in the allotment of Tibet Development? | train | easy | SELECT shname FROM lc_largeshsubscription WHERE chinameabbr = 'tibet development' |
1,984 | ccks_stock | bull | What is the total share capital and circulating A shares of Shandong Expressway Class A Shares? | train | medium | SELECT totalashare, afloats FROM lc_freefloat WHERE chinameabbr = 'shandong expressway' |
1,985 | ccks_fund | bull | What are the names of fund managers and their tenure of the funds with investment type "Growth-Small and Medium Enterprise Growth"? | train | hard | SELECT a.name, a.performance FROM mf_fundmanagernew AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE b.investmenttype = 'growth-small and medium enterprise growth' |
1,986 | ccks_stock | bull | Statistics of the maximum daily market turnover value for each stock. | train | hard | SELECT chinameabbr, MAX(turnovervalue) FROM qt_dailyquote GROUP BY chinameabbr |
1,987 | ccks_fund | bull | List the managers and fund managers who hold 20国开12. | train | hard | SELECT b.manager, b.investadvisorname FROM mf_bondportifoliodetail AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE a.bondabbr = '20国开12' |
1,988 | ccks_fund | bull | Return the names of funds and their risk levels managed by fund managers who left before 2020. | train | hard | SELECT b.secuabbr, b.risklevel FROM mf_fundmanagernew AS a JOIN mf_fundrisklevel AS b ON a.innercode = b.innercode WHERE STRFTIME('%y', a.dimissiondate) < '2020' |
1,989 | ccks_fund | bull | Please help me find the customer service telephone number of E Fund Management Co., Ltd. Thank you. | train | medium | SELECT serviceline FROM mf_investadvisoroutline WHERE investadvisorabbrname = 'e fund management co., ltd.' |
1,990 | ccks_fund | bull | List the funds and specific values that have had a benchmark growth rate greater than 5% since the beginning of this month. | train | medium | SELECT secuabbr, benchgrforthismonth FROM mf_benchmarkgrowthrate WHERE benchgrforthismonth > 5 |
1,991 | ccks_stock | bull | Can I know the major shareholder, the number of shares held, and the shareholding ratio of 300184? | train | easy | SELECT shname, holdingsum, holdingpct FROM lc_relatedsh WHERE secucode = '300184' |
1,992 | ccks_stock | bull | I want to know the proportion of bonus shares and the actual amount paid by Dongxu Blue Sky two years ago. | train | medium | SELECT bonusshareratio, actualcashdivirmb FROM lc_dividend WHERE chinameabbr = 'dongxu blue sky' AND STRFTIME('%y', dividendimplementdate) = STRFTIME('%y', DATE('now', '-2 year')) |
1,993 | ccks_fund | bull | Which funds have had a benchmark annualized growth rate exceeding 20% since inception? | train | medium | SELECT secuabbr FROM mf_benchmarkgrowthrate WHERE annualizedbrforsince > 20 |
1,994 | ccks_fund | bull | What are the top 10 funds with the highest monthly benchmark growth rate and their fund types? | train | hard | SELECT b.secuabbr, b.type FROM mf_benchmarkgrowthrate AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode ORDER BY a.monthlybenchgr DESC LIMIT 10 |
1,995 | ccks_fund | bull | Which fund managers are from the Marshall Islands? | train | medium | SELECT chinesename FROM mf_personalinfo WHERE nationality = 'marshall islands' |
1,996 | ccks_fund | bull | Wang Gong said to check the weekly growth rate data record of the unit net value of 510210. | train | easy | SELECT nvweeklygrowthrate FROM mf_netvalue WHERE secucode = '510220' |
1,997 | ccks_fund | bull | Which open-ended funds have a one-month fund benchmark growth rate greater than 0? | train | hard | SELECT b.secuabbr FROM mf_benchmarkgrowthrate AS a JOIN mf_fundarchives AS b ON a.innercode = b.innercode WHERE b.type = 'open-ended' AND a.monthlybenchgr > 0 |
1,998 | ccks_stock | bull | List the stock codes of the "Metaverse" sector, along with the names and telephone numbers of their chairperson's secretaries. | train | hard | SELECT a.secucode, b.secretarybd, b.secretarybdtel FROM lc_coconcept AS a JOIN lc_stockarchives AS b ON a.companycode = b.companycode WHERE a.conceptname = 'metaverse' |
1,999 | ccks_fund | bull | What is the index cycle and fund return of Fullgoal Innovation Medicine ETF? | train | easy | SELECT indexcycle, fundreturn FROM mf_fundreturnrank WHERE secuabbr = 'fullgoal innovation medicine etf' |
2,000 | ccks_stock | bull | What is the minimum issuance volume and the upper limit of issuance volume for the additional issuance of 002305? | train | easy | SELECT issuevolfloor, issuevolceiling FROM lc_ashareseasonednewissue WHERE secucode = '002305' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.