You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sqlite3 matsmartare.db "INSERT INTO avg_discounts (the_date, avg_discount) SELECT current_date, avg(discount) FROM items WHERE last_seen=(SELECT MAX(last_seen) FROM items)"