QuestionAsk Questions?

Hi,

In order to improve the speed of my queries, one in particular tries to find matches between multiple tables, I am trying to use prime numbers to speed the process, but I have been googling alot for a function in mysql to find factorial numbers of a number and couldn't find any.

What I want to achieve is to find the prime numbers composing an integer.

example: for 1155, the factorial numbers would be: 3, 5, 7, 11

Thank you.

View Answers

Related Tutorials/Questions & Answers:

Advertisements