Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What Semimajor axis (AU) has a Companion (in order from star) of g?

### Inputs:
table_name: table, columns: ['Companion (in order from star)', 'Mass', 'Semimajor axis ( AU )', 'Orbital period ( s day )', 'Eccentricity', 'Inclination']

### Response:
SELECT Semimajor axis ( AU ) FROM table WHERE Companion (in order from star) = g