There is a database in it there is a table wp_bp_xprofile_data . There is a column in this table with values

You need to select only the data in which there is an id2 value.

You need to select using this script:
sql-driver-connection=jdbc\:mysql\://домен/Bukkit?user\=логин&пароль\=fun sql-query=SELECT name FROM wp_bp_xprofile_data WHERE name\='<%value%>' I know that I need to add here
sql-query=SELECT name FROM wp_bp_xprofile_data WHERE name\='<%value%>' But how to do it, I do not understand, I ask for help.
wp_bp_xprofile_data, in this table there is a columnfield_idwith integer non-unique values. It is necessary to select only the data in which the value stands [ here I did not understand by what criteria and what you want to choose, explain yourself ] ” - drdaemanvaluecolumn, for rows wherefield_idis 2, then for example:SELECT value FROM wp_bp_xprofile_data WHERE field_id = 2. - drdaemanSELECT name FROM wp_bp_xprofile_data WHERE name='...'does not have practical meaning, since The known value for thenameis selected. It is like “to deduce the names of all people whose name is Vasya”. - drdaeman 5:53 pm