INSERT INTO company (name, fullname) VALUES ('test', 'test', city)
city = SELECT users.id
FROM users
WHERE users.guid = '5305cadc4456b'
INSERT INTO company (name, fullname, city) SELECT 'test', 'test', users.id
FROM users
WHERE users.guid = '5305cadc4456b'
INSERT INTO company (name, fullname,city)
SELECT
'test' as name,
'test' as fullname,
users.id
FROM
users
WHERE users.guid = '5305cadc4456b';