text: // created by jiaying
  // 
  #ifndef PROJECT_SUBQUERY_H
  #define PROJECT_SUBQUERY_H
  
  #include "../Query.h"
  #include "../../db/Database.h"
  
  class SubQuery : public ComplexQuery {
    static constexpr const char *qname = "SUB";
  
  public:
    using ComplexQuery::ComplexQuery;
  
    QueryResult::Ptr execute() override;
  
    std::string toString() override;
  };
  
  #endif // PROJECT_SUBQUERY_H