How do I write this query in a finder?

  • Thread starter Thread starter grantus
  • Start date Start date

grantus

Guest
Member
I'm just starting to learn to develop in Xenforo. I've been using the finder system for my queries, but just simple ones.

I have my own table called "test". Is it possible to do something like this with the finder?

Code:

Code:

Code:
SELECT *,
    like_num / listen_num AS percent
    FROM test

I currently use this code no problem, but in a finder I don't know how I can do the select statement like that. From what I see in the XF docs, it just shows simple finder queries and everything is based...

Read more

Continue reading...
 
Top