
match (company:/dsq_stock/public_company where id='public_company:920819')
-[:public_company_to_a_stock_price*1..1]->
(price:/dsq_stock/a_stock_price)
 with timeout=5m
/**
output()
**/
;

MATCH (researcher:/dsq_stock/financial_researcher WHERE name = '钟奕昕')
-[:financial_researcher_to_doc_research_report_core*1..1]->
(report:/dsq_stock/doc_research_report_core)
-[:doc_research_report_core_to_public_company*1..1]->
(company:/dsq_stock/public_company)
-[:public_company_to_a_stock_financial_indicator*1..1]->
(financial:/dsq_stock/a_stock_financial_indicator)
 RETURN company.name AS "company_name", financial.net_profit_margin AS "net_profit_margin", company.symbol AS "symbol"
 with timeout=10m
/**
output()
**/
;


MATCH (researcher:/dsq_stock/financial_researcher WHERE name = '钟奕昕')
-[:financial_researcher_to_doc_research_report_core*1..1]->
(report:/dsq_stock/doc_research_report_core)
-[:doc_research_report_core_to_public_company*1..1]->
(company:/dsq_stock/public_company)
-[:public_company_to_a_stock_financial_indicator*1..1]->
(financial:/dsq_stock/a_stock_financial_indicator)
 RETURN company.name AS "company_name", financial.net_profit_margin AS "net_profit_margin", company.symbol AS "symbol"
 INTO /t0_198345
 with timeout=10m
 ;


{"sql":"SELECT t0.company_name AS \"公司名称\", t0.net_profit_margin AS \"利润率\", t0.symbol AS \"股票代码\" FROM /t0_198345 t0 ORDER BY \"利润率\" DESC LIMIT 0, 5"}

/**
output()
**/;
