| |

VerySource

 Forgot password?
 Register
Search
View: 749|Reply: 3

There are problems again, hey

[Copy link]

5

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-1-28 22:40:01
| Show all posts |Read mode
I saved the picture name in the database
There are multiple products sharing the same picture
Such as:

prd_id prd_name prd_pic
1 NOKIA 1 1.gif
2 NOKIA 2 1.gif
3 NOKIA 3 2.gif

How to put 1.gif together when taking out?
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-1 17:45:01
| Show all posts
select prd_id, prd_name from Data table where prd_pic = '1.gif' order by prd_id
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-2 03:15:01
| Show all posts
select prd_id, prd_name from Data table group by prd_pic order by prd_id
Reply

Use magic Report

0

Threads

27

Posts

18.00

Credits

Newbie

Rank: 1

Credits
18.00

 China

Post time: 2020-3-3 03:15:01
| Show all posts
group by prd_pic
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list