Use case: I want to retrieve all the platforms
Target table: hreda.platform
SELECT platform_name FROM hreda.platform
Use case: I want to retrieve all the categories
Target table: hreda.hre_category
SELECT DISTINCT hre_category_name FROM hreda.hre_category
Use case: I want to retrieve information about all investigations available at the archive
Target table: hreda.v_investigation
SELECT investigation_name,short_description,platform_name,start_date,end_date FROM hreda.v_investigation
Use case: I want to retrieve information about all investigations available at the archive where platform is 'ISS' and category is 'Biology'
Target table: hreda.v_investigation
SELECT DISTINCT investigation_name FROM hreda.v_investigation WHERE platform_name='ISS' AND hre_category_name='Biology'