SELECT wrep_data.common_name AS "Macdonald Rep" , ss_data.cartan_type AS "F4 Subsystem"
FROM ss_data , wrep_data
WHERE ss_data.g = wrep_data.g
AND ss_data.macdonald_rep = wrep_data.cw_idx
AND wrep_data.g='F4'
N.B. the values of string entries (for fields labeled as "text" below) must be encapusulated in single quotes.