Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Manually delete result data
(1 viewing) (1) Guest
component
Go to bottomPage: 12
TOPIC: Manually delete result data
#51728
Manually delete result data 9 Years, 6 Months ago Karma: 0
Hi
I am not an expert programmer, may i know how to delete result with success status thru database?
The administrator has disabled public write access.
 
#51729
Re:Manually delete result data 9 Years, 6 Months ago Karma: 747
Hello,

Use the following SQL query:

Code:


DELETE 
  SI,S,P,SF,SED 
FROM 
  #__ariquizstatisticsinfo SI LEFT JOIN #__ariquizstatistics S 
    ON SI.StatisticsInfoId = S.StatisticsInfoId
  LEFT JOIN #__ariquizstatistics_pages P
    ON SI.StatisticsInfoId = P.StatisticsInfoId
  LEFT JOIN #__ariquizstatistics_files SF 
    ON S.StatisticsId = SF.StatisticsId
  LEFT JOIN #__ariquiz_statistics_extradata SED 
    ON SED.StatisticsInfoId = SI.StatisticsInfoId
WHERE 
  SI.Status = "Finished" AND SI.Passed = 1



Regards,
ARI Soft
The administrator has disabled public write access.
 
#51730
Re:Manually delete result data 9 Years, 6 Months ago Karma: 0
Ok great, I tot it was only ariquizstatisticsinfo table. Is it right to delete specific user, i put UserID in where condition?
The administrator has disabled public write access.
 
#51731
Re:Manually delete result data 9 Years, 6 Months ago Karma: 747
Correctly.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#51769
Re:Manually delete result data 9 Years, 6 Months ago Karma: 0
Another question with deleting data, can we delete #__ariquizstatisticsinfo.Status with "Process" via Joomla Backend Panel?

I limited my user to take quiz for 1 hour and only 1 attempt.

Some of my data #__ariquizstatisticsinfo.EndDate is NULL and StartDate is already past 1 hour, and Status is Process.
The administrator has disabled public write access.
 
#51771
Re:Manually delete result data 9 Years, 6 Months ago Karma: 747
The extension doesn't support ability to delete active quiz sessions.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12