Write SQL query to solve given problem: Name the countries' long name with national accounts base year prior to 1980.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT LongName FROM Country WHERE NationalAccountsBaseYear < '1980' AND NationalAccountsBaseYear != ''