MYSQL Select Statment with Modification to tuple values
Posted
by mouthpiec
on Stack Overflow
See other posts from Stack Overflow
or by mouthpiec
Published on 2010-05-07T10:44:07Z
Indexed on
2010/05/07
10:48 UTC
Read the original article
Hit count: 139
Hi,
I have the following table:
bar_id, bar_name, subscription_id_fk, sub_name
eg:
1, Hard Rock, 2, Gold
2, TGIF, 1, Free
Now I need and SQL to extract this table, but where sub_name = Gold, I need to double the subscription_id_fk.
Can you please help ?
© Stack Overflow or respective owner