用戶 Screenshot users table查詢附加到實體在SQL Drupal數據庫中的字段
field_data_field_user_first_name screenshot fields table
我應該使用什麼樣的查詢來獲取這樣的表格:
Uid Email First name
1 [email protected] example
我曾嘗試沒有運氣:
SELECT * FROM users
LEFT JOIN field_data_field_user_first_name
ON users.uid = ield_data_field_user_first_name.entity_id
SELECT UID,郵件,field_user_first_name_value從網友提到你會得到相同的結果LEFT JOIN field_data_field_user_first_name ON users.uid = field_data_field_user_first_name.entity_id其中包= 「用戶」 – vishwa
謝謝。這工作完美 – Luis