This commit is contained in:
dsyoon
2023-01-20 20:28:23 +09:00
parent 44df67e156
commit af2000ca2d

View File

@@ -439,8 +439,8 @@ class AnalyzerSqlite:
conn = sqlite3.connect(self.stockFileName)
cursor = conn.cursor()
#cursor.execute('SELECT distinct code, name FROM ' + stockTableName + ' order by code')
cursor.execute('select CODE, NAME, max(ymd) as ymd from ' + fnguideTableName + ' where type != "E" group by 1 order by total_assets desc')
cursor.execute('SELECT distinct code, name FROM ' + stockTableName + ' order by code')
#cursor.execute('select CODE, NAME, max(ymd) as ymd from ' + fnguideTableName + ' where type != "E" group by 1 order by total_assets desc')
items = cursor.fetchall()
cursor.close()