Get column name by checking specific column value MySQL -


i have following structure table name check_phone want select column name table specific field (company) of table equal 468

calling_nmbr ' called_nmbr'call_type'site_area'company'province'district'region 'called_ims   779876542    ' +9370098765'   12    '    112  ' 77    ' 12     '   34   ' null  '  null     +93799543534  ' +9378843543' missed  '  kabul  '  98   ' london '  null ' 0234  '  null      +93773454654 '+0379923432'  null    '  null   ' 77    ' herat  ' null   ' null ' 233        +93799435435 '  null     '  null    '   xy    '  98   '  null'  null '  945  'null      

note: company field has data code of company. company has distinct field not existed other company @ least of company has common field want name of common fields.

i want has mysql equivalent intersect operator between selection of first company columns name , second company columns name.

column name can accessed using metadata details db connection. table can see there specific column name company can company code other column contais different information.

if still want know name of column based on content of please refer

java - how column name on result set


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -